From 0b2c7864edc1f5335d32cad94030aa0f91ea52cd Mon Sep 17 00:00:00 2001 From: Katie Gengler Date: Fri, 29 Dec 2023 10:55:14 -0500 Subject: [PATCH] Update gh actions; use setup-node in place of volta-cli/action --- .github/workflows/ci.yml | 17 ++++++++++++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d18197f8..5ca1d9e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,11 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v2 - - uses: volta-cli/action@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn lint - run: yarn test:ember @@ -29,8 +32,11 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v2 - - uses: volta-cli/action@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'yarn' - run: yarn install --no-lockfile - run: yarn test:ember @@ -54,9 +60,10 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: volta-cli/action@v1 + - uses: actions/setup-node@v4 with: node-version: 18 + cache: 'yarn' - name: install dependencies run: yarn install --frozen-lockfile - name: test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f23bc9dd..25965b85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 registry-url: 'https://registry.npmjs.org'