Skip to content

Commit

Permalink
Use wyvox/action-setup-pnpm (#998)
Browse files Browse the repository at this point in the history
Tidy up to simplify workflow files. Should be a no-op
  • Loading branch information
gilest authored Sep 29, 2023
1 parent e7f88f8 commit 1a8fcb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 54 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/action-setup@v2.4.0
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/action-setup@v2.4.0
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/action-setup@v2.4.0
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/action-setup@v2.4.0
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/action-setup@v2.4.0
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
10 changes: 1 addition & 9 deletions .github/workflows/website-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/action-setup@v2.4.0
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 website lint

0 comments on commit 1a8fcb5

Please sign in to comment.