mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
33 lines
784 B
YAML
33 lines
784 B
YAML
name: Puppeteer & A11y tests
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
name: Puppeteer & A11y tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '10.x'
|
|
- uses: actions/checkout@v1
|
|
- name: Cache node modules
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: node_modules
|
|
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
|
|
restore-keys: |
|
|
${{ runner.OS }}-build-${{ env.cache-name }}-
|
|
${{ runner.OS }}-build-
|
|
${{ runner.OS }}-
|
|
- name: install, bootstrap
|
|
run: |
|
|
yarn bootstrap --core
|
|
- name: build storybook
|
|
run: |
|
|
yarn --cwd examples/official-storybook build-storybook
|
|
- name: test
|
|
run: |
|
|
yarn test --puppeteer
|