-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build/update to node 20 pnpm 9 (#452)
- Loading branch information
Showing
30 changed files
with
11,110 additions
and
8,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,28 +11,28 @@ jobs: | |
strategy: | ||
fail-fast: true # Good to fail all fast if one of the matrix runs fails. | ||
matrix: | ||
node-version: [16] | ||
node-version: [20] | ||
python-version: ["3.10"] | ||
os: [ubuntu-20.04] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker for hadolint-docker pre-commit | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3 | ||
id: buildx | ||
with: | ||
install: true | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install and run pre-commit | ||
uses: pre-commit/[email protected].0 | ||
uses: pre-commit/[email protected].1 | ||
with: | ||
extra_args: --all-files | ||
Run-tests: | ||
|
@@ -41,26 +41,26 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
container: | ||
image: cypress/browsers:node16.16.0-chrome107-ff107 | ||
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1 | ||
options: --user 1001 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Set up default config files | ||
run: cd src && cp config-examples/* config && for i in config/*-example.js; do mv -- "$i" "${i%-example.js}.js"; done | ||
- name: Set up pnpm | ||
uses: pnpm/action-setup@v2 | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
version: 9 | ||
run_install: false | ||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Cache PNPM and Cypress | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cache/Cypress | ||
|
@@ -69,7 +69,7 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-pnpm-cypress-store- | ||
- name: Cypress install | ||
uses: cypress-io/github-action@v4 | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
runTests: false | ||
install-command: pnpm install --frozen-lockfile --silent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.