Skip to content

Commit 9e9436b

Browse files
committed
Update CI workflow to use top level
1 parent 398d9e8 commit 9e9436b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
with:
3838
node-version: '14'
3939
- name: Install dependencies
40-
run: cd smithy-typescript-ssdk-libs && yarn
40+
run: yarn
4141
- name: Run eslint
42-
run: cd smithy-typescript-ssdk-libs && yarn lint
42+
run: yarn lint
4343

4444
test-typescript:
4545
runs-on: ubuntu-latest
@@ -50,9 +50,9 @@ jobs:
5050
with:
5151
node-version: '14'
5252
- name: Install dependencies
53-
run: cd smithy-typescript-ssdk-libs && yarn
53+
run: yarn
5454
- name: Run tests
55-
run: cd smithy-typescript-ssdk-libs && yarn test
55+
run: yarn test
5656

5757
ensure-typescript-formatted:
5858
runs-on: ubuntu-latest
@@ -63,9 +63,9 @@ jobs:
6363
with:
6464
node-version: '14'
6565
- name: Install dependencies
66-
run: cd smithy-typescript-ssdk-libs && yarn
66+
run: yarn
6767
- name: Run the code formatter
68-
run: cd smithy-typescript-ssdk-libs && yarn format
68+
run: yarn format
6969
# This checks the output of git diff. If it's not empty (i.e there were
7070
# changes) it'll return a non-zero error code.
7171
- name: Ensure there are no changes from running the formatter

0 commit comments

Comments
 (0)