Fix Storybook Installation and production build CI (#13465)

* Revert storybook updates - pin versions - add production build CI

* test.yml wasnt added to the commit

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
negue
2021-09-02 01:47:13 +02:00
committed by GitHub
parent c11948f57c
commit 72606ad376
5 changed files with 1537 additions and 4685 deletions
+22 -1
View File
@@ -219,4 +219,25 @@ jobs:
CI: true
NODE_ENV: test
- run: npm run test:unit
working-directory: ./website/client
working-directory: ./website/client
production-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: cp config.json.example config.json
- name: npm install
run: |
npm install
env:
CI: true
NODE_ENV: production