forked from Hopding/pdf-lib
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (31 loc) · 774 Bytes
/
test.yml
File metadata and controls
39 lines (31 loc) · 774 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
34
35
36
37
38
39
name: Test
on:
push:
branches: ['denkiyagi-fork']
pull_request:
branches: ['denkiyagi-fork']
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
scope: '@denkiyagi'
cache: yarn
- run: yarn install
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn dev:prep
- run: yarn typecheck
- run: yarn lint
- run: yarn test