Skip to content

chore: update github workflows #2087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cypress-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate Github token
uses: navikt/github-app-token-generator@v1
Expand All @@ -25,7 +25,7 @@ jobs:
app-id: ${{ secrets.TOKENS_APP_ID }}

- name: Checkout @netlify/wait-for-deploy-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: netlify/wait-for-deploy-action
token: ${{ steps.get-token.outputs.token }}
Expand All @@ -43,7 +43,7 @@ jobs:
run: echo ${{ steps.deploy.outputs.origin-url }}

- name: Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cypress-demo-nx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate Github token
uses: navikt/github-app-token-generator@v1
Expand All @@ -25,7 +25,7 @@ jobs:
app-id: ${{ secrets.TOKENS_APP_ID }}

- name: Checkout @netlify/wait-for-deploy-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: netlify/wait-for-deploy-action
token: ${{ steps.get-token.outputs.token }}
Expand All @@ -43,7 +43,7 @@ jobs:
run: echo ${{ steps.deploy.outputs.origin-url }}

- name: Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cypress-demo-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
containers: [1, 2]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate Github token
uses: navikt/github-app-token-generator@v1
Expand All @@ -29,7 +29,7 @@ jobs:
app-id: ${{ secrets.TOKENS_APP_ID }}

- name: Checkout @netlify/wait-for-deploy-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: netlify/wait-for-deploy-action
token: ${{ steps.get-token.outputs.token }}
Expand All @@ -47,7 +47,7 @@ jobs:
run: echo ${{ steps.deploy.outputs.origin-url }}

- name: Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cypress-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate Github token
uses: navikt/github-app-token-generator@v1
Expand All @@ -29,7 +29,7 @@ jobs:
app-id: ${{ secrets.TOKENS_APP_ID }}

- name: Checkout @netlify/wait-for-deploy-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: netlify/wait-for-deploy-action
token: ${{ steps.get-token.outputs.token }}
Expand All @@ -47,7 +47,7 @@ jobs:
run: echo ${{ steps.deploy.outputs.origin-url }}

- name: Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cypress-middleware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
containers: [1, 2]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate Github token
uses: navikt/github-app-token-generator@v1
Expand All @@ -29,7 +29,7 @@ jobs:
app-id: ${{ secrets.TOKENS_APP_ID }}

- name: Checkout @netlify/wait-for-deploy-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: netlify/wait-for-deploy-action
token: ${{ steps.get-token.outputs.token }}
Expand All @@ -47,7 +47,7 @@ jobs:
run: echo ${{ steps.deploy.outputs.origin-url }}

- name: Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-appdir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
test-file: ${{ fromJson(needs.setup.outputs['test-files']) }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
test-file: ${{ fromJson(needs.setup.outputs['test-files']) }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
prerelease:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
with:
token: ${{ steps.get-token.outputs.token }}
command: manifest
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [main]

concurrency:
group: ${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
Expand All @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Installing with LTS Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- cron: '0 0 * * *'

concurrency:
group: ${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
Expand All @@ -22,9 +22,9 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Installing with LTS Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
check-latest: true
Expand All @@ -45,9 +45,9 @@ jobs:

if: github.ref_name == 'main'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Installing with LTS Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
check-latest: true
Expand Down