Skip to content

Commit

Permalink
Merge pull request #268 from datacite/n18
Browse files Browse the repository at this point in the history
Test using node 18
  • Loading branch information
jrhoads authored Jun 13, 2023
2 parents 7b41507 + 4ba7412 commit 1150d52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
matrix:
containers: [1, 2, 3, 4, 5]
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Checkout
uses: actions/checkout@v3

- name: Cypress run
uses: cypress-io/github-action@v3
uses: cypress-io/github-action@v5
with:
start: yarn dev
wait-on: 'http://localhost:3000'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ on:
jobs:
test:
uses: ./.github/workflows/cypress_tests.yml
secrets:
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_USER_COOKIE: ${{ secrets.CYPRESS_USER_COOKIE }}
secrets: inherit

0 comments on commit 1150d52

Please sign in to comment.