Skip to content

Bump actions/setup-node from 3 to 4 #194

Bump actions/setup-node from 3 to 4

Bump actions/setup-node from 3 to 4 #194

Workflow file for this run

name: CI
on: [pull_request]
env:
node-version: 16
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "${{ env.node-version }}"
cache: npm
- name: Install Node.js dependencies
run: |
npm ci
- name: Run lint
run: |
npm run lint
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "${{ env.node-version }}"
cache: npm
- name: Install Node.js dependencies
run: |
npm ci
- name: Run test
run: |
npm run test
- name: Run package
run: |
npm run package
- name: Run action
uses: ./
id: system-info
- name: Show action outputs
run: |
npm run showenv:SYSTEM_INFO_OUTPUTS
env:
SYSTEM_INFO_OUTPUTS: ${{join(steps.system-info.outputs.*, ', ')}}