Skip to content

Use node LTS version #9

Use node LTS version

Use node LTS version #9

Workflow file for this run

name: Package NPM
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: lts
- run: npm install
- run: npm run build:lib
- run: npm run pack
- run: npm publish dist/ngx-gauge
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}