Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

chore(action): update actions/checkout action to v4.1.1 #3511

chore(action): update actions/checkout action to v4.1.1

chore(action): update actions/checkout action to v4.1.1 #3511

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
PNPM_VERSION: latest-5
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup node ${{ matrix.node_version }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm audit signatures
- run: NODE_OPTIONS=--no-experimental-fetch npm test
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 16.14.0
- 18.0.0
- 18
- 19
include:
- node: 18
options: '--no-experimental-fetch'
- node: 18.0.0
options: '--no-experimental-fetch'
- node: 19
options: '--no-experimental-fetch'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup node ${{ matrix.node_version }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm clean-install
- run: NODE_OPTIONS="${{ matrix.options }}" npm test
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
uses: form8ion/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
permissions:
contents: read