Skip to content

Commit

Permalink
Rename client-project to some-project and fix working directory bug
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalaytekin committed Nov 10, 2023
1 parent 4bf0256 commit 98db4fc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@ jobs:
- name: Create the client project
working-directory: ${{ runner.temp }}
run: |
mkdir client-project
cd client-project
mkdir some-project
cd some-project
npm init -y
touch index.js
- name: Install the packed shareable config
working-directory: ${{ runner.temp }}/client-project
working-directory: ${{ runner.temp }}/some-project
run: |
npm install --save-dev ../packed/*.tgz
echo '{ "extends": "pa11y" }' > .eslintrc.json
- name: Check peer dependencies and use the shareable config
run: npx --no eslint .
- name: Use the shareable config (also checks peer dependencies)
working-directory: ${{ runner.temp }}/some-project
run: |
echo '{ "extends": "pa11y" }' > .eslintrc.json
npx --no eslint .

0 comments on commit 98db4fc

Please sign in to comment.