Skip to content

Update node version in .nvmrc (#87) #58

Update node version in .nvmrc (#87)

Update node version in .nvmrc (#87) #58

name: Publish on NPM
on:
push:
branches: [main, beta]
paths:
- 'src/**'
- package-lock.json
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci --legacy-peer-deps
- run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}