Skip to content

Fix typo in README.md for goBackToStart type (#15) #19

Fix typo in README.md for goBackToStart type (#15)

Fix typo in README.md for goBackToStart type (#15) #19

Workflow file for this run

name: Push to master
on:
push:
branches:
- master
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache dependencies
id: cache-deps
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts
- name: Build
run: yarn build
- name: Linting
run: yarn lint
- name: Testing
run: yarn test
- name: Set up package registry auth token
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- name: Publish to NPM
run: yarn publish --access public
- name: Extract version from package.json
id: extract_version
uses: Saionaro/extract-package-version@v1.1.1
- name: Create release on github
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: ${{ secrets.GH_TOKEN }}
prerelease: false
title: v${{ steps.extract_version.outputs.version }}
automatic_release_tag: v${{ steps.extract_version.outputs.version }}