Skip to content

Commit

Permalink
Simplify to one directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote committed Aug 27, 2024
1 parent f067d2b commit c9371e8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/check-against-commons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
PLUGIN_DIR: eslint-plugin-commons
COMMONS_DIR: commons

jobs:
Expand All @@ -15,13 +14,9 @@ jobs:
steps:
- name: Checkout eslint-plugin-commons
uses: actions/checkout@v4
with:
path: ${{ env.PLUGIN_DIR }}

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
package_json_file: ${{ env.PLUGIN_DIR }}/package.json

- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -30,14 +25,12 @@ jobs:
cache: 'pnpm'

- name: Install dependencies for eslint-plugin-commons
working-directory: ${{ env.PLUGIN_DIR }}
run: pnpm install

- name: Package eslint-plugin-commons
working-directory: ${{ env.PLUGIN_DIR }}
run: |
PACKAGE_PATH=$(pnpm pack | tail -n 1)
echo "PACKAGE_PATH=${{ env.PLUGIN_DIR }}/$PACKAGE_PATH" >> $GITHUB_ENV
echo "PACKAGE_PATH=$PACKAGE_PATH" >> $GITHUB_ENV
- name: Checkout commons repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c9371e8

Please sign in to comment.