Skip to content

Commit

Permalink
GHA: Use cache for yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed May 27, 2021
1 parent 77e272b commit 9104c0d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: yarn --frozen-lockfile
- uses: bahmutov/npm-install@v1
#- run: yarn test
- run: yarn build
- run: npx build-keycloak-theme --external-assets
Expand All @@ -43,9 +43,8 @@ jobs:
- uses: actions/[email protected]
with:
node-version: '15'
- run: |
yarn install --frozen-lockfile
yarn build-storybook -o ./build_storybook
- uses: bahmutov/npm-install@v1
- run: yarn build-storybook -o ./build_storybook
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9104c0d

Please sign in to comment.