Skip to content

BC-7995 Update engines spec and raise Node versions in github actions… #24

BC-7995 Update engines spec and raise Node versions in github actions…

BC-7995 Update engines spec and raise Node versions in github actions… #24

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: 22
- 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 }}