From c1f8b3bb2ece793287f2d3f5a7c9c572748f5cc3 Mon Sep 17 00:00:00 2001 From: reidlab Date: Thu, 20 Jul 2023 17:01:46 -0700 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..636edaa --- /dev/null +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file