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.
1 parent 006a405 commit 70bdaf4Copy full SHA for 70bdaf4
.github/workflows/ci.yml
@@ -0,0 +1,39 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - dev
8
9
+ pull_request:
10
11
12
13
14
+ workflow_dispatch:
15
16
+jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
20
+ steps:
21
+ - name: Clone repo
22
+ uses: actions/checkout@v4
23
24
+ - name: Install NodeJS
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: 22.12.0
28
29
+ - name: Install dependencies
30
+ run: npm ci
31
32
+ - name: Run test suites
33
+ run: npm run test
34
35
+ - name: Print message
36
+ run: echo "All tests passed. 🎉 :)"
37
38
+ - name: Print github context for demo
39
+ run: echo "${{ toJson(github) }}"
0 commit comments