We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd1abcc commit 50b613fCopy full SHA for 50b613f
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Change to your default branch if different
7
+ pull_request:
8
9
+ - main
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v2
19
20
+ - name: Set up Node.js
21
+ uses: actions/setup-node@v2
22
+ with:
23
+ node-version: '18' # Specify the Node.js version
24
25
+ - name: Install dependencies
26
+ run: npm install
27
28
+ - name: Run tests
29
+ run: npm test --if-present
30
31
+ - name: Build the project
32
+ run: npm run build --if-present
33
0 commit comments