diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 00:50:12 -0500 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 00:50:12 -0500 |
| commit | c552aac73c7e9f744c11a0220af8450674ed151d (patch) | |
| tree | 435a836b1380a6edd11d7bb2922cc3c2ced6714b /.github/actions/build | |
| parent | f84b8781a04b06b4196c983498226a9fb5391d55 (diff) | |
Use proper naming and structure for a composite action
Diffstat (limited to '.github/actions/build')
| -rw-r--r-- | .github/actions/build/action.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml new file mode 100644 index 0000000..fb2e198 --- /dev/null +++ b/.github/actions/build/action.yml @@ -0,0 +1,21 @@ +name: Build Website +runs: + using: "composite" + steps: + - name: Set Node.js + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: 'yarn' + - name: Set up Yarn2 + run: | + corepack enable + yarn set version berry + - 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 |
