-
Notifications
You must be signed in to change notification settings - Fork 54
56 lines (54 loc) · 1.94 KB
/
build.yaml
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
51
52
53
54
55
56
name: Build
on:
schedule:
- cron: '55 */3 * * *'
push:
branches:
- master
paths-ignore:
- 'data/**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: leafo/[email protected]
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm i -D warframe-patchlogs@^2
- run: npm i --no-save warframe-worldstate-data@^2
- if: ${{ github.event_name == 'schedule' }}
run: npm run build
env:
NODE_OPTIONS: '--max_old_space_size=2048'
PROXY_TYPE: ${{ secrets.PROXY_TYPE }}
PROXY_SOCKS5_USER: ${{ secrets.PROXY_SOCKS5_USER }}
PROXY_SOCKS5_PASS: ${{ secrets.PROXY_SOCKS5_PASS }}
PROXY_SOCKS5_HOST: ${{ secrets.PROXY_SOCKS5_HOST }}
PROXY_SOCKS5_PORT: ${{ secrets.PROXY_SOCKS5_PORT }}
PROXY_HTTPS_STRING: ${{ secrets.PROXY_HTTPS_STRING }}
- if: ${{ github.event_name != 'schedule' }}
run: npm run build -- --force
env:
NODE_OPTIONS: '--max_old_space_size=2048'
PROXY_TYPE: ${{ secrets.PROXY_TYPE }}
PROXY_SOCKS5_USER: ${{ secrets.PROXY_SOCKS5_USER }}
PROXY_SOCKS5_PASS: ${{ secrets.PROXY_SOCKS5_PASS }}
PROXY_SOCKS5_HOST: ${{ secrets.PROXY_SOCKS5_HOST }}
PROXY_SOCKS5_PORT: ${{ secrets.PROXY_SOCKS5_PORT }}
PROXY_HTTPS_STRING: ${{ secrets.PROXY_HTTPS_STRING }}
- run: sh .github/workflows/regression.sh
- uses: stefanzweifel/git-auto-commit-action@v5
env:
NODE_OPTIONS: '--max_old_space_size=4096'
with:
skip_dirty_check: false
commit_message: 'fix(items): new items'
commit_user_name: wfcd-bot-boi
commit_user_email: [email protected]
commit_author: wfcd-bot-boi <[email protected]>