From f9094c24656a0aedb23a93d5d61d36818253aa3f Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Wed, 16 Nov 2022 15:02:20 -0700 Subject: [PATCH] ci: upgrade github actions setup-node now supports named versions. codecov-action version 1 has been sunset and no longer functions --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66f36ce74..7b6e47ee4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,14 +7,14 @@ jobs: name: ${{matrix.node}} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: dcodeIO/setup-node-nvm@master + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{matrix.node}} - run: npm install -g npm - run: npm install - run: npm test - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 strategy: matrix: node: @@ -25,9 +25,9 @@ jobs: runs-on: ${{matrix.os}} steps: - name: checkout remark - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: setup node - uses: dcodeIO/setup-node-nvm@master + uses: actions/setup-node@v3 with: node-version: ${{matrix.node}} - name: setup remark @@ -36,7 +36,7 @@ jobs: npm install npm run build - name: checkout ${{matrix.package}} - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{matrix.package}} path: canary/${{matrix.package}}