Skip to content

Commit a9ebf5b

Browse files
authored
Added build workflow (pterodactyl#3963)
1 parent 695c264 commit a9ebf5b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build Panel
2+
on:
3+
push:
4+
branches:
5+
- 'develop'
6+
- 'v2'
7+
pull_request:
8+
jobs:
9+
build:
10+
runs-on: ubuntu-20.04
11+
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')"
12+
strategy:
13+
matrix:
14+
node-version: [16.x]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
cache: 'npm'
22+
- run: npm install -g yarn
23+
- run: yarn install
24+
- run: yarn build:production

0 commit comments

Comments
 (0)