Skip to content

[Snyk] Upgrade underscore from 1.13.6 to 1.13.7 #25

[Snyk] Upgrade underscore from 1.13.6 to 1.13.7

[Snyk] Upgrade underscore from 1.13.6 to 1.13.7 #25

Workflow file for this run

name: Build and publish
on:
pull_request:
types:
- opened
push:
branches:
- develop
- development
- alpha
- beta
- master
- main
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [14, 16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build
- run: tar -czvf distrib.tar.gz bacnet examples package.json docs index.js README.md CHANGELOG.md
- uses: actions/upload-artifact@v3
with:
name: build-folders
path: distrib.tar.gz
publish:
runs-on: ubuntu-20.04
needs: build
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}