This repository has been archived by the owner on May 30, 2024. It is now read-only.
Update actions/checkout digest to a5ac7e5 #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build site | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
- feature/docusaurus | |
push: | |
branches: | |
- feature/docusaurus | |
jobs: | |
build: | |
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
name: Build docusaurus Site | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: install yarn | |
run: npm i -g --force yarn | |
- name: restore yarn | |
run: | | |
cd $GITHUB_WORKSPACE/src | |
yarn install | |
- name: yarn build | |
run: | | |
cd $GITHUB_WORKSPACE/src | |
yarn run build |