mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-31 16:04:24 +01:00
29 lines
555 B
YAML
29 lines
555 B
YAML
name: frontend
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "html/*"
|
|
pull_request:
|
|
paths:
|
|
- "html/*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-16.04
|
|
strategy:
|
|
matrix:
|
|
node-version: [8.x, 10.x, 12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: yarn install, check and build
|
|
run: |
|
|
cd html
|
|
yarn install
|
|
yarn run check
|
|
yarn run build
|