Skip to content

SECURITY-5161: pull in new test cases, fix tests #6

SECURITY-5161: pull in new test cases, fix tests

SECURITY-5161: pull in new test cases, fix tests #6

Workflow file for this run

name: nodejs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [
'16',
'18',
'20'
]
name: Node JS ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org'
- name: Install
run: npm install
- name: Test
run: npm test
- name: Publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}