We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09928ba commit d163810Copy full SHA for d163810
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,29 @@
1
+name: Check DataURI package
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request_target:
7
+ types: [assigned, opened, synchronize, reopened]
8
+jobs:
9
+ check-package:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ node: [ '10', '12', '14', '16' ]
14
+ name: Check DataURI package on Node.js ${{ matrix.node }}
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: actions/setup-node@v2
18
+ with:
19
+ node-version: ${{ matrix.node }}
20
+ - uses: actions/cache@v2
21
22
+ path: ~/.npm
23
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
24
+ restore-keys: |
25
+ ${{ runner.os }}-node-
26
+ - name: Build and test
27
+ run: |
28
+ npm ci --prefer-offline --no-audit
29
+ npm test
0 commit comments