1
0
Fork 0
mirror of https://github.com/kou029w/nodejs-hands-on.git synced 2025-04-02 02:25:15 +00:00
nodejs-hands-on/.github/workflows/ci.yml
2025-03-01 03:01:12 +00:00

22 lines
533 B
YAML

name: ci
on:
push:
jobs:
test:
name: Node.js v${{ matrix.node-version }}
strategy:
matrix:
node-version:
- 22
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install
run: npm ci
- name: Test
run: npm test