github/workflows: run yarn install with --frozen-lockfile

This commit is contained in:
Patrik Oldsberg
2020-03-30 23:50:49 +02:00
parent ffd0d4d545
commit e22d6dd253
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- name: yarn install
run: yarn install --frozen-lockfile
- run: yarn build
# This creates a new plugin and pollutes the workspace, so it should be run last.
- name: verify app serve and plugin creation on Windows
+2 -1
View File
@@ -38,7 +38,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- name: yarn install
run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
+2 -1
View File
@@ -37,7 +37,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- run: yarn install
- name: yarn install
run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
+2 -1
View File
@@ -39,7 +39,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- run: yarn install
- name: yarn install
run: yarn install --frozen-lockfile
- name: build storybook
run: yarn workspace storybook build-storybook
- name: deploy storybook to gh-pages