-
-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (23 loc) · 558 Bytes
/
ci.yml
File metadata and controls
31 lines (23 loc) · 558 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Setup Node 16
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
with:
version: 7.0.0
- name: Install
run: pnpm install
- name: Test
run: pnpm test