Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed May 21, 2024
1 parent 3970360 commit 858e0d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GitHub action to configure the
installs and configures the CLI with a mabl API key, if one is provided. Note
that API keys should be stored as [GitHub secrets](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-an-organization).

This action requires Node.js 12+ be installed as part of your workflow.
This action requires Node.js 18+ be installed as part of your workflow.
The [mabl-cli](https://www.npmjs.com/package/@mablhq/mabl-cli) will be installed into that Node.js runtime.
See below for an example of how to install Node.js.

Expand All @@ -27,8 +27,8 @@ See below for an example of how to install Node.js.

## Requirements

- Requires Node.js 12+ be installed as a prior step. This is most easily done with
the `actions/setup-node@v2` action.
- Requires Node.js 18+ be installed as a prior step. This is most easily done with
the `actions/setup-node@v4` action.

## Examples

Expand All @@ -46,9 +46,9 @@ jobs:
name: Mabl Tests
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '18.x'
- uses: mablhq/setup-mabl-cli@v1
with:
Expand All @@ -60,7 +60,7 @@ jobs:
run: mabl test-runs export ar5vXBJ-rpan1nSs445s3A-jr -f screenshots.zip
- name: Upload screenshots
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: screenshots
path: screenshots.zip
Expand All @@ -83,9 +83,9 @@ jobs:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '18.x'
- uses: mablhq/setup-mabl-cli@v1
with:
Expand Down

0 comments on commit 858e0d5

Please sign in to comment.