mirror of
https://github.com/go-task/task.git
synced 2025-01-10 04:18:53 +02:00
28 lines
545 B
YAML
28 lines
545 B
YAML
name: Website Test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
website-test:
|
|
name: Website Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
cache: yarn
|
|
cache-dependency-path: ./docs/yarn.lock
|
|
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
working-directory: ./docs
|
|
|
|
- name: Test build website
|
|
run: yarn build
|
|
working-directory: ./docs
|