Skip to content

chore(deps): update dependency @types/node to v20.11.25 #711

chore(deps): update dependency @types/node to v20.11.25

chore(deps): update dependency @types/node to v20.11.25 #711

name: Node.js Package
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v1
with:
node-version: "20.x"
# Defaults to the user or organization that owns the workflow file
# scope: '@octocat'
- run: npm ci
- run: npm run build
- run: npm run coverage
- run: npm run lint
publish-npm:
needs: build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "20.x"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}