-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance: Upgraded all packages. (#630)
* maintenance: upgraded all packages, many changes for ESLint 9 migration, and many imports that were remove * updated version of each step in CI * updated version of each step in CI * updated version of each step in CI * updated version of each step in CI * testing ci changes * testing ci changes * testing ci changes * testing ci changes * removed globals from vitest config * readded globals for tests
- Loading branch information
1 parent
0045cf0
commit fd0d83e
Showing
27 changed files
with
2,591 additions
and
3,910 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -25,27 +25,16 @@ jobs: | |
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Read package.json | ||
id: package | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./package.json | ||
|
||
# Ensures pnpm version is consistent and gets back the value to be used in pnpm setup action | ||
- name: Get PNPM version | ||
id: pnpm-version | ||
uses: buffet-time/[email protected] | ||
with: | ||
# engines.pnpm | ||
packageJson-engines-pnpm: '${{ fromJson(steps.package.outputs.content).engines.pnpm }}' | ||
|
||
# packageManager | ||
packageJson-packageManager: '${{ fromJson(steps.package.outputs.content).packageManager }}' | ||
|
||
- name: Cache PNPM modules | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
id: cache-modules | ||
with: | ||
path: | | ||
|
@@ -54,11 +43,9 @@ jobs: | |
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: ${{ runner.os }}-node- | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: '${{ steps.pnpm-version.outputs.version }}' | ||
- uses: pnpm/action-setup@v4 | ||
|
||
- uses: actions/setup-node@v3.8.2 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
# use the version found in `.nvmrc` | ||
node-version-file: '.nvmrc' | ||
|
@@ -71,16 +58,7 @@ jobs: | |
- name: Copy `.env.test` -> `.env` | ||
run: cp .env.test .env | ||
|
||
- name: Cache build | ||
uses: actions/cache@v3 | ||
id: cache-build | ||
with: | ||
path: .nuxt/ | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/.nuxt') }} | ||
restore-keys: ${{ runner.os }}-build- | ||
|
||
- name: Build the `.nuxt` directory | ||
if: steps.cache-build.outputs.cache-hit != 'true' | ||
run: pnpm build | ||
|
||
- name: Tests | ||
|
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 |
---|---|---|
|
@@ -16,27 +16,16 @@ jobs: | |
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Read package.json | ||
id: package | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./package.json | ||
|
||
# Ensures pnpm version is consistent and gets back the value to be used in pnpm setup action | ||
- name: Get PNPM version | ||
id: pnpm-version | ||
uses: buffet-time/[email protected] | ||
with: | ||
# engines.pnpm | ||
packageJson-engines-pnpm: '${{ fromJson(steps.package.outputs.content).engines.pnpm }}' | ||
|
||
# packageManager | ||
packageJson-packageManager: '${{ fromJson(steps.package.outputs.content).packageManager }}' | ||
|
||
- name: Cache PNPM modules | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
id: cache-modules | ||
with: | ||
path: | | ||
|
@@ -45,36 +34,21 @@ jobs: | |
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: ${{ runner.os }}-node- | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: '${{ steps.pnpm-version.outputs.version }}' | ||
- uses: pnpm/action-setup@v4 | ||
|
||
- uses: actions/setup-node@v3.8.2 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
# use the version found in `.nvmrc` | ||
node-version-file: '.nvmrc' | ||
|
||
# shows current pnpm version | ||
- name: check pnpm version | ||
run: pnpm -v | ||
|
||
- name: Install `node_modules` | ||
if: steps.cache-modules.outputs.cache-hit != 'true' | ||
run: pnpm install | ||
|
||
- name: Copy `.env.test` -> `.env` | ||
run: cp .env.test .env | ||
|
||
- name: Cache build | ||
uses: actions/cache@v3 | ||
id: cache-build | ||
with: | ||
path: .nuxt/ | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/.nuxt') }} | ||
restore-keys: ${{ runner.os }}-build- | ||
|
||
- name: Build the `.nuxt` directory | ||
if: steps.cache-build.outputs.cache-hit != 'true' | ||
run: pnpm build | ||
|
||
- name: Linting | ||
|
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 |
---|---|---|
|
@@ -16,27 +16,16 @@ jobs: | |
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Read package.json | ||
id: package | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./package.json | ||
|
||
# Ensures pnpm version is consistent and gets back the value to be used in pnpm setup action | ||
- name: Get PNPM version | ||
id: pnpm-version | ||
uses: buffet-time/[email protected] | ||
with: | ||
# engines.pnpm | ||
packageJson-engines-pnpm: '${{ fromJson(steps.package.outputs.content).engines.pnpm }}' | ||
|
||
# packageManager | ||
packageJson-packageManager: '${{ fromJson(steps.package.outputs.content).packageManager }}' | ||
|
||
- name: Cache PNPM modules | ||
uses: actions/cache@v3.7.0 | ||
uses: actions/cache@v4 | ||
id: cache-modules | ||
with: | ||
path: | | ||
|
@@ -45,37 +34,22 @@ jobs: | |
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: ${{ runner.os }}-node- | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: '${{ steps.pnpm-version.outputs.version }}' | ||
- uses: pnpm/action-setup@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
# use the version found in `.nvmrc` | ||
node-version-file: '.nvmrc' | ||
cache: 'pnpm' | ||
|
||
# shows current pnpm version | ||
- name: check pnpm version | ||
run: pnpm -v | ||
|
||
- name: Install `node_modules` | ||
if: steps.cache-modules.outputs.cache-hit != 'true' | ||
run: pnpm install | ||
|
||
- name: Copy `.env.test` -> `.env` | ||
run: cp .env.test .env | ||
|
||
- name: Cache build | ||
uses: actions/cache@v3 | ||
id: cache-build | ||
with: | ||
path: .nuxt/ | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/.nuxt') }} | ||
restore-keys: ${{ runner.os }}-build- | ||
|
||
- name: Build the `.nuxt` directory | ||
if: steps.cache-build.outputs.cache-hit != 'true' | ||
run: pnpm build | ||
|
||
- name: Run the API generation | ||
|
@@ -100,7 +74,7 @@ jobs: | |
git push origin ${{ steps.branch.outputs.BRANCH_NAME }} | ||
- name: Create PR | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }} | ||
script: | | ||
|
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
2 changes: 1 addition & 1 deletion
2
components/blocks/SiteFooter/LanguageSelector/LanguageSelector.vue
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
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.