-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 722 Bytes
/
nodejs.yml
File metadata and controls
33 lines (33 loc) · 722 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
32
33
name: Node CI
on:
push:
branches:
- '*'
- '!tmp'
- '!*.tmp'
- '!tmp.*'
- '!temp'
- '!*.temp'
- '!temp.*'
- '!draft'
- '!*.draft'
- '!draft.*'
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12', '14']
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3.5.1
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: curl -L https://unpkg.com/@pnpm/self-installer | node
- name: Install dependencies
run: pnpm recursive install
- name: Test
run: pnpm test -- --ci