diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db79c58..57e0a75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Install npm dependencies run: npm ci @@ -24,6 +26,6 @@ jobs: run: npm run test:cov - name: Codacy Coverage Reporter - uses: codacy/codacy-coverage-reporter-action@0.2.0 + uses: codacy/codacy-coverage-reporter-action@v1 with: project-token: ${{ secrets.CODACY_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c17af96..2ff4af4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,15 +6,18 @@ on: jobs: release: name: Release - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Install dependencies run: npm ci