Skip to content

Bump upload-artifact and actions/download-artifact from 3 to 4 #263

Bump upload-artifact and actions/download-artifact from 3 to 4

Bump upload-artifact and actions/download-artifact from 3 to 4 #263

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm install
run: npm install
- name: npm lint
# check style only once
if: matrix.operating-system == 'ubuntu-latest'
run: npm run format-check
- name: npm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm test