Skip to content

chore: fix the yml file for publish env npm token (#424) #45

chore: fix the yml file for publish env npm token (#424)

chore: fix the yml file for publish env npm token (#424) #45

Workflow file for this run

name: Publish to NPM registry
on:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile
- run: yarn semantic-release