-
-
Notifications
You must be signed in to change notification settings - Fork 46
26 lines (25 loc) · 680 Bytes
/
test.yml
File metadata and controls
26 lines (25 loc) · 680 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
name: test
on:
pull_request:
push:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".node-version"
cache: npm
- name: Install Dependencies
run: npm ci
- name: Run Test
run: npm run test