Skip to content

Commit

Permalink
Update dependencies. (#1114)
Browse files Browse the repository at this point in the history
* Update dependencies.

Co-authored-by: Martin Liljenback <[email protected]>
  • Loading branch information
dompuiu and liljenback authored May 17, 2024
1 parent eadf260 commit 119ad1d
Show file tree
Hide file tree
Showing 962 changed files with 26,583 additions and 46,260 deletions.
82 changes: 0 additions & 82 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/check-dead-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dead Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.4.1
uses: lycheeverse/lychee-action@v1
with:
args: "--no-progress --include=adobe.ly --include=experienceleague.adobe.com {src,scripts,test}/**/*.{md,js,html} *.{md,js}"
format: detailed
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/deployRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ jobs:
# final release versions do not contain '-'
if: ${{ contains(github.event.inputs.version, '-') == false }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 15.x
node-version: 22
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.ALLOY_BOT_GITHUB_SSH_PRIVATE_KEY }}
${{ secrets.CDN_PRIVATE_KEY }}
- uses: actions/cache@v2
- uses: actions/cache@v4
id: npm-cache
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: ./scripts/deploy.js ${{ github.event.inputs.version }} latest
env:
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: build
path: |
Expand All @@ -62,10 +62,10 @@ jobs:
# prerelease versions contain '-'
if: ${{ contains(github.event.inputs.version, '-') }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 15.x
node-version: 22
- uses: webfactory/[email protected]
with:
ssh-private-key: |
Expand All @@ -74,15 +74,15 @@ jobs:
- uses: actions/cache@v2
id: npm-cache
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: ./scripts/deploy.js ${{ github.event.inputs.version }} next
env:
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: build
path: |
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
name: "Unit Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- name: Set up Node.js version
uses: actions/setup-node@v4
with:
node-version: 22
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: npm-cache
with:
path: "**/node_modules"
Expand All @@ -26,13 +30,12 @@ jobs:
run: npm ci
- name: Build
run: npm run test:functional:build:int
- uses: saucelabs/sauce-connect-action@v2.2.1
- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: $GITHUB_JOB
- name: Run Unit Test
run: npx karma start karma.saucelabs.conf.js --single-run
run: npx karma start karma.saucelabs.conf.cjs --single-run
env:
BUILD_NUMBER: $GITHUB_RUN_NUMBER
BUILD_ID: $GITHUB_RUN_ID
Expand All @@ -44,10 +47,15 @@ jobs:
needs: unit-test
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Set up Node.js version
uses: actions/setup-node@v4
with:
node-version: 22

- uses: actions/checkout@v4

- name: Clear cache
uses: actions/cache@v3
uses: actions/cache@v4
id: npm-cache
with:
path: "**/node_modules"
Expand All @@ -65,7 +73,7 @@ jobs:
env:
ALLOY_PROD_VERSION: ${{ env.PACKAGE_VERSION }}

- uses: saucelabs/saucectl-run-action@v3.0.1
- uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ee-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
name: Upload sauce configs to artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
env:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sauce-config
path: .sauce

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sauce-ignore
path: .sauceignore
Expand All @@ -47,23 +47,23 @@ jobs:
myToken: ${{ github.token }}
exclude_types: "draft|prerelease"

- uses: actions/checkout@v2.3.3
- uses: actions/checkout@v4
with:
ref: refs/heads/${{ steps.last_release.outputs.tag_name }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: 22

- name: Clear cache
uses: actions/cache@v3
uses: actions/cache@v4
id: npm-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset

- name: Download sauce config into tags
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sauce-config
path: .sauce
Expand All @@ -73,7 +73,7 @@ jobs:
with:
path: .sauceignore

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: sauce-ignore
path: .
Expand All @@ -93,7 +93,7 @@ jobs:
env:
ALLOY_PROD_VERSION: ${{ env.PACKAGE_VERSION }}

- uses: saucelabs/saucectl-run-action@v3.0.1
- uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_alloyio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: 22

- name: Change directory to sandbox and install npm packages
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pre-edge-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
name: Upload sauce configs to artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
env:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sauce-config
path: .sauce

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sauce-ignore
path: .sauceignore
Expand All @@ -47,12 +47,12 @@ jobs:
myToken: ${{ github.token }}
exclude_types: "draft|prerelease"

- uses: actions/checkout@v2.3.3
- uses: actions/checkout@v4
with:
ref: refs/heads/${{ steps.last_release.outputs.tag_name }}

- name: Download sauce config into tags
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sauce-config
path: .sauce
Expand All @@ -62,7 +62,7 @@ jobs:
with:
path: .sauceignore

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: sauce-ignore
path: .
Expand All @@ -82,7 +82,7 @@ jobs:
env:
ALLOY_PROD_VERSION: ${{ env.PACKAGE_VERSION }}

- uses: saucelabs/saucectl-run-action@v3.0.1
- uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
Loading

0 comments on commit 119ad1d

Please sign in to comment.