Skip to content

Commit

Permalink
chore(actions): use wyvox/action-setup-pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
gilest committed Sep 29, 2023
1 parent e7f88f8 commit 6645dfa
Showing 1 changed file with 6 additions and 45 deletions.
51 changes: 6 additions & 45 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,9 @@ jobs:
with:
fetch-depth: 1

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm --filter ember-file-upload lint
Expand All @@ -43,17 +35,9 @@ jobs:
with:
fetch-depth: 1

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Test
run: pnpm --filter test-app test:ember --launch chrome
Expand All @@ -76,17 +60,9 @@ jobs:
with:
fetch-depth: 1

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: 'Change TS to ${{ matrix.typescript-scenario }}'
run: 'pnpm add --save-dev ${{ matrix.typescript-scenario}}'
Expand All @@ -108,17 +84,10 @@ jobs:
with:
fetch-depth: 1

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'pnpm'

- name: 'Install dependencies'
run: rm pnpm-lock.yaml && pnpm install
args: --no-lockfile

- name: Test
run: pnpm --filter test-app test:ember --launch chrome
Expand Down Expand Up @@ -148,17 +117,9 @@ jobs:
with:
fetch-depth: 1

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Test
env:
Expand Down

0 comments on commit 6645dfa

Please sign in to comment.