-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 770 Bytes
/
Copy pathci.yml
File metadata and controls
34 lines (30 loc) · 770 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
33
34
name: CI
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: CompeyDev/setup-rokit@v0.2.1
- uses: actions/setup-node@v7.0.0
with:
node-version: 22
cache: npm
- run: npm ci
- run: lune run scripts/run.luau verify
# The declaration check answers a different question than the repository
# checks, so a failure in one must never hide the other.
- if: '!cancelled()'
run: lune run scripts/run.luau check