There was an error while loading. Please reload this page.
1 parent 52062dd commit 7274e0dCopy full SHA for 7274e0d
.github/workflows/tests.yaml
@@ -0,0 +1,26 @@
1
+name: Jest tests
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ container:
9
+ image: node:${{ matrix.node }}-alpine
10
+ strategy:
11
+ matrix:
12
+ node-version: [6.x, 7.x]
13
14
+ steps:
15
+ # Need to install Python 2 for `node-gyp` to build `node-sass`
16
+ - name: Install Alpine build tools
17
+ run: apk add --no-cache python # make git gcc g++
18
+ - uses: actions/checkout@v2
19
+ - name: Use Node.js ${{ matrix.node-version }}
20
+ uses: actions/setup-node@v1
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ - name: Install dependencies
24
+ run: yarn install
25
+ - name: Run tests
26
+ run: yarn test
0 commit comments