Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 4271062

Browse files
committed
Revert "Test PRs in as well."
This reverts commit 60e83a5.
1 parent 60e83a5 commit 4271062

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
name: Node.js CI
2-
3-
on:
1+
name: Tests
2+
'on':
43
push:
5-
branches: [master]
4+
branches:
5+
- master
66
pull_request:
7-
branches: [master]
7+
branches:
8+
- master
89

910
jobs:
1011
test:
12+
name: 'Node.js v${{ matrix.node }}'
1113
runs-on: ubuntu-latest
12-
1314
strategy:
1415
matrix:
15-
node-version: [14.x, 16.x, 18.x]
16-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17-
16+
node:
17+
- 16
18+
- 17
1819
steps:
19-
- uses: actions/checkout@v3
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v3.4.1
2221
with:
23-
node-version: ${{ matrix.node-version }}
24-
cache: "npm"
25-
- run: npm ci
26-
- run: npm run build
27-
- run: npm run test
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
node-version: '${{ matrix.node }}'
23+
- uses: actions/checkout@v3
24+
- name: Install Dependencies
25+
run: npm ci
26+
- name: Run All Node.js Tests
27+
run: npm test

0 commit comments

Comments
 (0)