diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/frontend.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 0000000..e134729 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,28 @@ +name: frontend + +on: + push: + paths: + - ".github/workflows/frontend.yml" + - "html/*" + pull_request: + paths: + - ".github/workflows/frontend.yml" + - "html/*" + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Run yarn install, check and build + run: | + corepack enable + corepack prepare yarn@stable --activate + yarn install + yarn run check + yarn run build + working-directory: html |