diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 9e39818..9410799 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -6,19 +6,13 @@ jobs: pr-check: name: PR test for locking-cache runs-on: ubuntu-latest - if: github.repository == 'ScientaNL/locking-cache' + if: github.repository_owner == 'ScientaNL' steps: - - name: Cancel Previous Runs - if: ${{ !env.ACT }} - uses: styfle/cancel-workflow-action@0.6.0 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: '14.x' - run: npm ci diff --git a/.github/workflows/release-npm-version-publish.yml b/.github/workflows/release-npm-version-publish.yml index 925b9e2..3b90c08 100644 --- a/.github/workflows/release-npm-version-publish.yml +++ b/.github/workflows/release-npm-version-publish.yml @@ -7,17 +7,11 @@ jobs: name: NPM publish axios-oauth2 runs-on: ubuntu-latest steps: - - name: Cancel Previous Runs - if: ${{ !env.ACT }} - uses: styfle/cancel-workflow-action@0.6.0 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: NPM version release - uses: ScientaNL/release-npm-github-action@1.1.0 + uses: ScientaNL/release-npm-github-action@1.2.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" npm-token: "${{ secrets.NPM_SCIENTA_TOKEN }}"