-
Notifications
You must be signed in to change notification settings - Fork 454
44 lines (38 loc) · 906 Bytes
/
CI-Test.yml
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
name: CI-Test
on:
push:
branches:
- main
paths-ignore:
- README.md
- LICENSE
pull_request:
paths-ignore:
- README.md
- LICENSE
workflow_dispatch:
jobs:
ubuntu:
strategy:
matrix:
os-version: [ "x64" ]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Download Final2x-core and unzip
run: |
cd ./resources
wget https://github.com/Tohrusky/Final2x-core/releases/download/2023-06-27/Final2x-core-ubuntu-20.04.zip -O Final2x-core.zip
unzip -d ./Final2x-core Final2x-core.zip
rm Final2x-core.zip
- name: Test
run: |
npm install
npm run test
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}