Skip to content

Merge pull request #273 from marceloatg/develop #16

Merge pull request #273 from marceloatg/develop

Merge pull request #273 from marceloatg/develop #16

Workflow file for this run

name: Node.js Package
on:
push:
branches: [ "master" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: git config user.email "marceloatg@outlook.com"
- run: git config user.name "Marcelo Gomes"
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm version ${{vars.version}}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}