Skip to content

Commit

Permalink
Update test-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 authored Nov 9, 2023
1 parent 40ff92a commit 5f764c7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,22 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache: 'yarn'
- run: yarn install --frozen-lockfile

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-build-${{ env.cache-name }}
- name: install package
run: |
cp .env.ci .env
yarn --immutable
- name: Copy .env
run: cp .env.ci .env

- name: build
run: yarn build --filter=frontend --filter=backend
Expand Down

0 comments on commit 5f764c7

Please sign in to comment.