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 dea2869 + fc9cca3 commit d2c6b55Copy full SHA for d2c6b55
.github/workflows/main.yml
@@ -0,0 +1,35 @@
1
+ ```yml
2
+ # Name of workflow
3
+ name: Lint workflow
4
+
5
+ # Trigger workflow on all pull requests
6
+ on:
7
+ pull_request:
8
+ branches:
9
+ - develop
10
+ - staging
11
12
+ # Jobs to carry out
13
+ jobs:
14
+ test:
15
+ # Operating system to run job on
16
+ runs-on: ubuntu-latest
17
18
+ # Steps in job
19
+ steps:
20
+ # Get code from repo
21
+ - name: Checkout code
22
+ uses: actions/checkout@v1
23
24
+ - name: Use Node.js 21.x
25
+ uses: actions/setup-node@v1
26
+ with:
27
+ node-version: 21.x
28
29
+ # Install dependencies
30
+ - name: 🧰 install deps
31
+ run: npm install
32
33
+ # Run lint
34
+ - name: Run lint
35
+ run: npm run lint
0 commit comments