From e7a8b8e515bec504d7996a038371208a4a4fd663 Mon Sep 17 00:00:00 2001 From: Robbie Wagner Date: Thu, 5 Dec 2024 15:18:11 -0500 Subject: [PATCH] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 03d24710a..07b4f64b0 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 @@ -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 @@ -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 }} @@ -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 @@ -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 }} @@ -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