Create build.yml
This commit is contained in:
parent
5ff116be22
commit
c1f8b3bb2e
1 changed files with 36 additions and 0 deletions
36
.github/workflows/build.yml
vendored
Normal file
36
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set Node.js 16.x
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16.x
|
||||||
|
|
||||||
|
- name: Run install
|
||||||
|
uses: borales/actions-yarn@v4
|
||||||
|
with:
|
||||||
|
cmd: install # will run `yarn install` command
|
||||||
|
|
||||||
|
- name: Install aftman
|
||||||
|
uses: ok-nick/setup-aftman@v0.3.0
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
uses: borales/actions-yarn@v4
|
||||||
|
with:
|
||||||
|
cmd: build # will run `yarn build` command
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: goopler
|
||||||
|
path: build.rbxl
|
Loading…
Add table
Add a link
Reference in a new issue