Skip to content

fix(*): replace eslint with biome #40

fix(*): replace eslint with biome

fix(*): replace eslint with biome #40

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

Check failure on line 13 in .github/workflows/npm_publish_package.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm_publish_package.yml

Invalid workflow file

error parsing called workflow ".github/workflows/npm_publish_package.yml" -> "cnpja/workflows/.github/workflows/nodejs_quality_control.yaml@master" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
secrets: inherit
with:
node-version: 22.x
publish:
name: NPM Publish
runs-on: ubuntu-latest
needs: quality
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
- name: Install Dependencies
run: |
npm i -g pnpm
pnpm i --frozen-lockfile
- name: Build Distributable
run: pnpm build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm release