We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbcdcbb commit 96ffaf6Copy full SHA for 96ffaf6
.github/workflows/npm.yml
@@ -0,0 +1,34 @@
1
+name: NPM Installation
2
+
3
+on:
4
+ push:
5
+ branches-ignore:
6
+ - "dependabot/**"
7
+ schedule:
8
+ - cron: '0 0 * * *'
9
10
+env:
11
+ FORCE_COLOR: 2
12
+ NODE: 16
13
14
+jobs:
15
+ build:
16
+ strategy:
17
+ matrix:
18
+ platform: [ubuntu-latest, windows-latest]
19
+ node-version: [16.x, 17.x, 18.x]
20
+ runs-on: ${{ matrix.platform }}
21
+ steps:
22
+ - name: Clone repository
23
+ uses: actions/checkout@v3
24
25
+ - name: Set up Node.js
26
+ uses: actions/setup-node@v3
27
+ with:
28
+ node-version: ${{ env.node-version }}
29
30
+ - name: Install npm dependencies
31
+ run: npm install
32
33
+ - name: Run build
34
+ run: npm run build
0 commit comments