Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Dec 5, 2024
1 parent 0ea1245 commit e7a8b8e
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
NODE_VERSION: 18

jobs:
lint:
name: Lint files
Expand All @@ -22,10 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
Expand All @@ -47,16 +44,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm i --no-lockfile

- name: Test
run: pnpm test:${{ matrix.script-name }}

Expand All @@ -74,10 +69,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9

Expand Down Expand Up @@ -106,16 +101,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Test
run: pnpm ember try:one ${{ matrix.try-scenario }}

Expand All @@ -133,14 +126,14 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js ${{ env.NODE_VERSION }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm

node-version: 18.x
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install --no-lockfile

- name: Deploy
run: pnpm ember deploy production

0 comments on commit e7a8b8e

Please sign in to comment.