Skip to content

Commit

Permalink
Move commons up
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote committed Aug 27, 2024
1 parent c644175 commit bab6038
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check-against-commons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches:
- main

env:
COMMONS_DIR: ../commons

jobs:
check-breaking-changes:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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 .

0 comments on commit bab6038

Please sign in to comment.