Skip to content

Commit

Permalink
feat: upgrade dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js v18 or higher is required.
  • Loading branch information
gregberge committed Apr 5, 2024
1 parent 69b11b1 commit dd66e29
Show file tree
Hide file tree
Showing 19 changed files with 3,143 additions and 2,147 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ inputs:
runs:
using: "composite"
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: pnpm
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
Expand All @@ -38,49 +38,49 @@ jobs:
run: npm run build

- name: Upload "@argos-ci/util" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Upload "@argos-ci/cli" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Upload "@argos-ci/core" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: core-dist
path: packages/core/dist

- name: Upload "@argos-ci/browser" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: browser-dist
path: packages/browser/dist

- name: Upload "@argos-ci/playwright" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playwright-dist
path: packages/playwright/dist

- name: Upload "@argos-ci/cypress" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cypress-dist
path: packages/cypress/dist

- name: Upload "@argos-ci/puppeteer" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: puppeteer-dist
path: packages/puppeteer/dist

- name: Upload "@argos-ci/webdriverio" dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: webdriverio-dist
path: packages/webdriverio/dist
Expand All @@ -91,33 +91,33 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
node-version: [18, 20, current]

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
with:
node-version: ${{ matrix.node-version }}

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist
Expand All @@ -131,34 +131,34 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
node-version: [18, 20, current]
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
with:
node-version: ${{ matrix.node-version }}

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist
Expand All @@ -183,7 +183,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
Expand All @@ -194,31 +194,31 @@ jobs:
run: pnpm --filter cypress exec cypress install

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist

- name: Download "@argos-ci/browser" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: browser-dist
path: packages/browser/dist

- name: Download "@argos-ci/cypress" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cypress-dist
path: packages/cypress/dist
Expand All @@ -243,7 +243,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
Expand All @@ -254,31 +254,31 @@ jobs:
run: pnpm --filter playwright exec playwright install chromium --with-deps

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist

- name: Download "@argos-ci/browser" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: browser-dist
path: packages/browser/dist

- name: Download "@argos-ci/playwright" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: playwright-dist
path: packages/playwright/dist
Expand All @@ -303,7 +303,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
Expand All @@ -314,31 +314,31 @@ jobs:
run: node packages/puppeteer/node_modules/puppeteer/install.mjs

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist

- name: Download "@argos-ci/browser" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: browser-dist
path: packages/browser/dist

- name: Download "@argos-ci/puppeteer" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: puppeteer-dist
path: packages/puppeteer/dist
Expand All @@ -363,33 +363,33 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup deps
uses: ./.github/actions/setup-deps
with:
node-version: ${{ matrix.node-version }}

- name: Download "@argos-ci/util" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: util-dist
path: packages/util/dist

- name: Download "@argos-ci/cli" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cli-dist
path: packages/cli/dist

- name: Download "@argos-ci/core" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: core-dist
path: packages/core/dist

- name: Download "@argos-ci/webdriverio" dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: webdriverio-dist
path: packages/webdriverio/dist
Expand Down
2 changes: 1 addition & 1 deletion build/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const swcPlugin = swc({
},
env: {
targets: {
node: "16",
node: "18",
},
},
});
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"type": "module",
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-swc": "^0.2.1",
"@rollup/plugin-typescript": "^11.1.5",
"@swc/core": "^1.3.93",
"@rollup/plugin-swc": "^0.3.0",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.4.12",
"cross-env": "^7.0.3",
"eslint": "^8.51.0",
"lerna": "^7.4.1",
"prettier": "^3.0.3",
"rollup": "^4.1.4",
"rollup-plugin-swc3": "^0.10.2",
"eslint": "^8.57.0",
"lerna": "^8.1.2",
"prettier": "^3.2.5",
"rollup": "^4.14.0",
"rollup-plugin-swc3": "^0.11.0",
"rollup-plugin-ts": "^3.4.5",
"typedoc": "^0.25.2",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
"typedoc": "^0.25.12",
"typescript": "^5.4.4",
"vitest": "^1.4.0"
},
"scripts": {
"build": "pnpm run -r prebuild && cross-env NODE_ENV=production pnpm -r run build",
Expand All @@ -29,6 +29,6 @@
"release-canary": "npm run build && lerna publish --canary --dist-tag canary"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
}
}
Loading

0 comments on commit dd66e29

Please sign in to comment.