chore(deps): bump actions/setup-node from 3.8.1 to 4.0.1 #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/Test | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
name: build/test on node versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x, 18.x, 19.x, 20.x ] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # 2.5.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
nodejs.org:443 | |
registry.yarnpkg.com:443 | |
objects.githubusercontent.com:443 | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # 4.0.1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install --frozen-lockfile | |
- run: yarn type-check | |
- run: yarn lint | |
- run: yarn build-prod | |
- run: yarn set-plugin-version 0.0.0 |