Skip to content

Commit

Permalink
Build Tool Npm to Yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
seungh0 committed Jul 31, 2024
1 parent 0d139fc commit a7f9688
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,26 @@ jobs:
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache node modules
id: cache-npm
- name: Cache yarn cache
id: cache-yarn
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install and Build
run: |
yarn install
yarn install --frozen-lockfile
yarn run build
working-directory: cassdio-web/src/main/webapp

0 comments on commit a7f9688

Please sign in to comment.