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.
2 parents c41cf42 + 0c9141e commit f436faeCopy full SHA for f436fae
.github/workflows/tests.yml
@@ -0,0 +1,28 @@
1
+name: tests
2
+on: [pull_request]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ strategy:
7
+ matrix:
8
+ node-version: [8.x]
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Setup with Node.js ${{ matrix.node-version }}
12
+ uses: actions/setup-node@v1
13
+ with:
14
+ node-version: ${{ matrix.node-version }}
15
+ - name: Cache Node.js modules
16
+ uses: actions/cache@v2
17
18
+ path: ~/.npm
19
+ key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
20
+ restore-keys: |
21
+ ${{ runner.OS }}-node-
22
+ ${{ runner.OS }}-
23
+ - name: Install dependencies
24
+ run: npm install grunt-cli
25
+ - name: "Build dist files"
26
+ run: grunt build
27
+ - name: "Run tests"
28
+ run: npm test
0 commit comments