Skip to content
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

Update GitHub Actions workflows with .nvmrc #610

Merged
merged 7 commits into from
Dec 4, 2023
Merged

Conversation

colinrotherham
Copy link
Contributor

@colinrotherham colinrotherham commented Nov 17, 2023

Addresses deprecation warnings in GitHub Actions ahead of package updates

Build & test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

I've included an .nvmrc update to test things out but this might land in #609 first cherry picked from c7995df

@colinrotherham colinrotherham requested a review from a team as a code owner November 17, 2023 14:37
@colinrotherham
Copy link
Contributor Author

colinrotherham commented Nov 17, 2023

All browser tests were successful but wdio reported 1x Internet Explorer failure 🤷‍♂️

Sauce Labs tests passing

rgarner and others added 7 commits November 20, 2023 16:49
Also update CONTRIBUTING.md to match
Allows for `pull_request` status checks, every `push` to main branch, but also enables manual `workflow_dispatch` runs
Also ensures job names match concurrency group names
@colinrotherham colinrotherham changed the title Update GitHub Actions workflows Update GitHub Actions workflows with .nvmrc Nov 20, 2023
Copy link
Contributor

@domoscargin domoscargin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nice clean up!

```

To install Node (with npm) and Java locally on macOS, we recommend [brew](https://brew.sh) with
To install Node (with npm) locally on macOS, we recommend [brew](https://brew.sh) with
Copy link
Contributor

@domoscargin domoscargin Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Phew, I saw Java in the first commit and thought I'd have to brush up...


- name: "Setup Node v${{ steps.nvm.outputs.NVMRC }}"
uses: actions/setup-node@v2
- name: Setup Node.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤩

jobs:
test-saucelabs:
integration:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, interesting - was this just misnamed as test-saucelabs?

@colinrotherham colinrotherham self-assigned this Dec 4, 2023
@colinrotherham colinrotherham merged commit 92a1c72 into main Dec 4, 2023
3 checks passed
@colinrotherham colinrotherham deleted the configure-node branch December 4, 2023 12:20
@colinrotherham colinrotherham removed their assignment Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants