Skip to content

Commit

Permalink
testing ci changes
Browse files Browse the repository at this point in the history
  • Loading branch information
buffet-time committed Aug 10, 2024
1 parent 544531c commit 80f524d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,23 @@ jobs:
# use the version found in `.nvmrc`
node-version-file: '.nvmrc'

# shows current pnpm version
- name: check pnpm version
run: pnpm -v

- name: Install `node_modules`
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install

- name: Copy `.env.test` -> `.env`
run: cp .env.test .env

- name: Cache build
uses: actions/cache@v4
id: cache-build
with:
path: .nuxt/
key: ${{ runner.os }}-build-${{ hashFiles('**/.nuxt') }}
restore-keys: ${{ runner.os }}-build-
# - name: Cache build
# uses: actions/cache@v4
# id: cache-build
# with:
# path: .nuxt/
# key: ${{ runner.os }}-build-${{ hashFiles('**/.nuxt') }}
# restore-keys: ${{ runner.os }}-build-

- name: Build the `.nuxt` directory
if: steps.cache-build.outputs.cache-hit != 'true'
# if: steps.cache-build.outputs.cache-hit != 'true'
run: pnpm build

- name: Linting
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/update-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ jobs:
node-version-file: '.nvmrc'
cache: 'pnpm'

# shows current pnpm version
- name: check pnpm version
run: pnpm -v

- name: Install `node_modules`
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install
Expand Down

0 comments on commit 80f524d

Please sign in to comment.