Skip to content

Commit

Permalink
WIP - changed cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Jul 6, 2023
1 parent 436d8de commit 294cf4b
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/javascript-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: deps
path: node_modules

lint:
needs: install
Expand All @@ -28,13 +24,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get dependencies
uses: actions/download-artifact@v2
with:
name: deps
path: node_modules
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: yarn run lint

build:
needs: install
runs-on: ubuntu-latest
Expand All @@ -44,11 +38,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get dependencies
uses: actions/download-artifact@v2
with:
name: deps
path: node_modules
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: yarn run build

test:
Expand All @@ -60,9 +52,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get dependencies
uses: actions/download-artifact@v2
with:
name: deps
path: node_modules
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: yarn run test

0 comments on commit 294cf4b

Please sign in to comment.