-
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (42 loc) · 993 Bytes
/
Copy pathlua-e2e.yml
File metadata and controls
50 lines (42 loc) · 993 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Lua E2E
on:
pull_request:
paths:
- "src-lua/**"
- "scripts/lua-e2e.mjs"
- "package.json"
- "package-lock.json"
- ".github/workflows/lua-e2e.yml"
push:
branches: [ main, next ]
paths:
- "src-lua/**"
- "scripts/lua-e2e.mjs"
- "package.json"
- "package-lock.json"
- ".github/workflows/lua-e2e.yml"
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
lua-e2e:
name: Lua runtime end-to-end
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.21.1
cache: "npm"
- name: Install LÖVE
run: |
sudo apt-get update
sudo apt-get install -y love xvfb
- name: Install dependencies
run: npm ci
- name: Run Lua E2E
run: npm run test:lua:e2e