p-timeout/.github/workflows/main.yml

22 lines
421 B
YAML
Raw Normal View History

2020-12-01 07:57:27 +00:00
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
2022-07-25 16:24:32 +00:00
- 18
- 16
2020-12-01 07:57:27 +00:00
steps:
2022-07-25 16:24:32 +00:00
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
2020-12-01 07:57:27 +00:00
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test