Files
ttyd/.github/workflows/frontend.yml
debian-go 89fb69b480 workflow: update actions packages (#1316)
* Update checkout action version to v4.

* Update checkout action version to v4.

* Update checkout action version to v4.

* Update release.yml

* Update backend.yml

* Update frontend.yml

* bump actions/upload-artifact and actions/download-artifact to v4

* bump actions/setup-node to v4

* bump docker actions

---------

Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2024-03-29 09:24:10 +08:00

29 lines
582 B
YAML

name: frontend
on:
push:
paths:
- ".github/workflows/frontend.yml"
- "html/*"
pull_request:
paths:
- ".github/workflows/frontend.yml"
- "html/*"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
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