This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
fix(deps): update dependency eslint to ^8.52.0 #1666
Workflow file for this run
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
name: Test Against Repos | |
on: [push, pull_request] | |
jobs: | |
Integration_Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
repos: [ | |
{name: 'haus.gg', repository: 'EvHaus/haus.gg'}, | |
{name: 'globexdesigns.com', repository: 'GlobexDesignsInc/globexdesigns.com'} | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
with: | |
version: 'latest' | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'pnpm' | |
node-version: '20' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
with: | |
path: ${{ matrix.repos.name }} | |
repository: ${{ matrix.repos.repository }} | |
- name: Install repo | |
run: | | |
# Can't install into cwd otherwise pnpm doesn't create node_modules | |
mv ${{ matrix.repos.name }} ../ | |
cd ../${{ matrix.repos.name }} | |
pnpm i --no-frozen-lockfile | |
# Manually symlink relevant node_modules to repo until | |
# https://github.com/pnpm/pnpm/issues/3026 is resolved | |
cd node_modules | |
# ln -sf doesn't work, so we have to delete first | |
rm -rf @eslint-config-globex | |
ln -s ../../eslint-config-globex/packages @eslint-config-globex | |
rm -rf eslint-config-globex | |
ln -s ../../eslint-config-globex/packages/core eslint-config-globex | |
rm -rf @eslint | |
ln -s ../../eslint-config-globex/node_modules/@eslint @eslint | |
rm -rf eslint | |
ln -s ../../eslint-config-globex/node_modules/eslint eslint | |
rm -rf eslint-plugin-filenames | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-filenames eslint-plugin-filenames | |
rm -rf eslint-plugin-import | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-import eslint-plugin-import | |
rm -rf eslint-plugin-json | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-json eslint-plugin-json | |
rm -rf eslint-plugin-jsx-a11y | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-jsx-a11y eslint-plugin-jsx-a11y | |
rm -rf eslint-plugin-promise | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-promise eslint-plugin-promise | |
rm -rf eslint-plugin-react | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-react eslint-plugin-react | |
rm -rf eslint-plugin-react-hooks | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-react-hooks eslint-plugin-react-hooks | |
rm -rf eslint-plugin-sonarjs | |
ln -s ../../eslint-config-globex/node_modules/eslint-plugin-sonarjs eslint-plugin-sonarjs | |
rm -rf eslint-scope | |
ln -s ../../eslint-config-globex/node_modules/eslint-scope eslint-scope | |
rm -rf eslint-utils | |
ln -s ../../eslint-config-globex/node_modules/eslint-utils eslint-utils | |
rm -rf eslint-visitor-keys | |
ln -s ../../eslint-config-globex/node_modules/eslint-visitor-keys eslint-visitor-keys | |
rm -rf @typescript-eslint | |
ln -s ../../eslint-config-globex/node_modules/@typescript-eslint @typescript-eslint | |
- name: Run eslint | |
run: cd ../${{ matrix.repos.name }} && pnpm eslint |