Skip to content

fix: bump checkout step version #53

fix: bump checkout step version

fix: bump checkout step version #53

Workflow file for this run

name: Publish npm Package
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --immutable
- run: yarn build
- run: yarn lint
- run: yarn test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn install --immutable
- run: yarn build
- run: yarn pinst --disable
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}