diff options
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 |
