Skip to content

chore(action): replace form8ion/.github action with form8ion/semantic… #7788

chore(action): replace form8ion/.github action with form8ion/semantic…

chore(action): replace form8ion/.github action with form8ion/semantic… #7788

Workflow file for this run

name: Node.js CI
'on':
push:
branches:
- master
- beta
- renovate/**
pull_request:
types:
- opened
- synchronize
env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
permissions:
contents: read
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18.19.0
- 20.6.1
- 22.0.0
- 22
- 24
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: corepack npm audit signatures
- run: npm test
- uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
uses: form8ion/semantic-release-workflow/.github/workflows/release-package.yml@19ce8e3056a1f6fbd4191373fce1000b891630fc # v2.0.0

Check failure on line 59 in .github/workflows/node-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/node-ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/node-ci.yml" -> "form8ion/semantic-release-workflow/.github/workflows/release-package.yml@19ce8e3056a1f6fbd4191373fce1000b891630fc" : failed to fetch workflow: workflow was not found.
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
workflow-result:
runs-on: ubuntu-latest
needs:
- verify
- verify-matrix
if: ${{ !cancelled() }}
steps:
- name: All matrix versions passed
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some matrix version failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1