-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (39 loc) · 1.1 KB
/
push.yml
File metadata and controls
50 lines (39 loc) · 1.1 KB
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: build
on:
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 24.15.0
- run: echo "pnpm_version=$(node -p 'require(`./Builder/package.json`).packageManager.replace(/^pnpm@/, ``)')" >> $GITHUB_OUTPUT
id: pnpm-version
- uses: pnpm/action-setup@v6
with:
version: ${{ steps.pnpm-version.outputs.pnpm_version }}
- run: pnpm install
working-directory: Builder
- run: pnpm lint
working-directory: Builder
- name: Install and Run Luacheck
uses: nebularg/actions-luacheck@v1
with:
args: "--no-color -q"
annotate: warning
- name: Find globals
uses: LiangYuxuan/action-findglobals@master
with:
find-args: "! -path \"./AddOn/Libs/*\""
- name: Create Retail Package
uses: BigWigsMods/packager@v2
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}