Skip to content

chore(action): update codecov/codecov-action action to v3.1.4 #3098

chore(action): update codecov/codecov-action action to v3.1.4

chore(action): update codecov/codecov-action action to v3.1.4 #3098

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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- 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:
- 14.15.0
- 16.0.0
- 16
- 18
include:
- node: 18
options: '--no-experimental-fetch'
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
cache: npm
node-version: ${{ matrix.node }}
- 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 }}