Skip to content

Merge branch 'beta' of github.com:cnpja/sdk-nodejs into beta #19

Merge branch 'beta' of github.com:cnpja/sdk-nodejs into beta

Merge branch 'beta' of github.com:cnpja/sdk-nodejs into beta #19

name: NPM Publish Package
on:
push:
branches: [ master, beta, alpha ]
permissions:
contents: read
jobs:
quality:
name: Quality Control
uses: cnpja/workflows/.github/workflows/nodejs_quality_control.yaml@master
secrets: inherit
publish:
name: NPM Publish
runs-on: ubuntu-latest
needs: quality
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm i -g pnpm && pnpm i
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpx semantic-release