From bab6038495748d2404fa86fe6327ccb34ae89fa6 Mon Sep 17 00:00:00 2001 From: Derek Croote Date: Mon, 26 Aug 2024 21:16:18 -0700 Subject: [PATCH] Move commons up --- .github/workflows/check-against-commons.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-against-commons.yml b/.github/workflows/check-against-commons.yml index 0dd9469..6d44d82 100644 --- a/.github/workflows/check-against-commons.yml +++ b/.github/workflows/check-against-commons.yml @@ -5,9 +5,6 @@ on: branches: - main -env: - COMMONS_DIR: ../commons - jobs: check-breaking-changes: runs-on: ubuntu-latest @@ -36,13 +33,16 @@ jobs: uses: actions/checkout@v4 with: repository: api3dao/commons - path: ${{ env.COMMONS_DIR }} + path: commons + + - name: Move commons outside of the repo + run: mv commons ../ - name: Install packaged version in commons - working-directory: ${{ env.COMMONS_DIR }} + working-directory: ../commons run: | - pnpm add -D file:../${{ env.PACKAGE_PATH }} + pnpm add -D file:eslint-plugin-commons/${{ env.PACKAGE_PATH }} - name: Run ESLint on commons - working-directory: ${{ env.COMMONS_DIR }} + working-directory: ../commons run: pnpm eslint . \ No newline at end of file