We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61701f commit faab143Copy full SHA for faab143
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: Vue Stripe.js CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [16.x]
16
17
+ steps:
18
+ - name: Use Node.js ${{ matrix.node-version }}
19
+ - uses: actions/checkout@v2
20
+ uses: actions/setup-node@v2
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
24
+ - name: Cache NPM
25
+ - uses: actions/cache@v2
26
27
+ path: ~/.npm
28
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29
+ restore-keys: |
30
+ ${{ runner.os }}-node-
31
32
+ - name: Install dependencies
33
+ run: npm i
34
35
+ - name: Unit Tests
36
+ run: npm run test
0 commit comments