Skip to content

Commit

Permalink
Merge pull request #127 from bethinkpl/add-cache-to-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kvas-damian authored Apr 26, 2022
2 parents 54edacd + b09a273 commit 19ea5ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Insert auth font awesome auth token
run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3
with:
node-version: '16.13'
cache: 'yarn'
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
yarn install --pure-lockfile
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Insert auth font awesome auth token
run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3
with:
node-version: '16.13'
cache: 'yarn'
- name: Install dependencies
run: yarn install --pure-lockfile
- name: TypeScript check
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Insert auth font awesome auth token
run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3
with:
node-version: '16.13'
cache: 'yarn'
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
yarn install --pure-lockfile
Expand Down

0 comments on commit 19ea5ed

Please # to comment.