We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9574c03 commit b94f40cCopy full SHA for b94f40c
.github/workflows/actions.yml
@@ -0,0 +1,34 @@
1
+name: NodeJS with Webpack
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [14.x, 16.x]
16
17
+ steps:
18
+ - uses: actions/checkout@v2
19
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v2
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
25
+ - name: Install dependencies
26
+ run: yarn install
27
+ - name: Lint files
28
+ run: yarn lint
29
+ - name: Run tests
30
+ run: yarn jest
31
+ - name: Build library
32
+ run: yarn build:lib
33
+ - name: Build documentation
34
+ run: yarn build
0 commit comments