Skip to content

BC-7345 - upgrade nodejs (#14) #23

BC-7345 - upgrade nodejs (#14)

BC-7345 - upgrade nodejs (#14) #23

Workflow file for this run

name: Publish package to npmjs
on:
push:
tags:
- '[0-9]*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Build
run: |
npm ci
npm run build
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc
npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}