From bdea9cdd40d5eaf3f4167df8683ebb91f4b31f7f Mon Sep 17 00:00:00 2001 From: Brendan F Date: Thu, 9 Jan 2025 00:43:41 -0500 Subject: Move build to composite action --- .github/actions/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/actions/build.yml (limited to '.github/actions') diff --git a/.github/actions/build.yml b/.github/actions/build.yml new file mode 100644 index 0000000..d95d14d --- /dev/null +++ b/.github/actions/build.yml @@ -0,0 +1,18 @@ +name: Build Website +runs: + using: "composite" + steps: + - uses: actions/checkout@v4 + - name: Set Node.js + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: 'yarn' + - name: Run install + uses: borales/actions-yarn@v5 + with: + cmd: install # will run `yarn install` command + - name: Build production bundle + uses: borales/actions-yarn@v5 + with: + cmd: build -- cgit v1.2.3