diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 00:43:41 -0500 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 00:43:41 -0500 |
| commit | bdea9cdd40d5eaf3f4167df8683ebb91f4b31f7f (patch) | |
| tree | 203fdbba9410ef868882028dde55e650804bbcfa /.github/actions | |
| parent | 0d703c037ee7d0015f07145da3c87e730c5aa4a6 (diff) | |
Move build to composite action
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/build.yml | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
