-
-
Notifications
You must be signed in to change notification settings - Fork 615
32 lines (26 loc) · 569 Bytes
/
Copy pathmain.yml
File metadata and controls
32 lines (26 loc) · 569 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Main
on:
push:
pull_request:
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Repo
uses: actions/checkout@v7
- name: ⬢ Setup Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: npm
- name: 📦 Install Packages
run: npm ci
- name: 🧪 Test
run: npm test