0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/.github/workflows/ci-website.yml

40 lines
748 B
YAML
Raw Normal View History

name: CI Website
on:
push:
branches:
- master
pull_request:
paths:
- .github/workflows/ci-website.yml
- 'website/**'
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [14]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node_version: ${{ matrix.node_version }}
- name: Install dependencies
run: |
yarn --frozen-lockfile
yarn bootstrap
- name: Lint website
run: |
cd website
yarn lint
- name: Build website
run: |
cd website
yarn build