Skip to content

Commit 6783ab0

Browse files
committed
Simplify invocations
1 parent b20d61a commit 6783ab0

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
with:
1818
node-version: 18
1919
- uses: bahmutov/npm-install@v1
20-
with:
21-
install-command: yarn --frozen-lockfile --silent
22-
working-directory: ./
2320
- run: yarn test
2421
- uses: battila7/get-version-action@v2
2522
# Set the version in package.json to match the tag
@@ -43,9 +40,6 @@ jobs:
4340
with:
4441
node-version: 18
4542
- uses: bahmutov/npm-install@v1
46-
with:
47-
install-command: yarn --frozen-lockfile --silent
48-
working-directory: ./
4943
- uses: battila7/get-version-action@v2
5044
# Set the version in package.json to match the tag
5145
- run: "npm version ${{ steps.get_version.outputs.version-without-v }}"

.github/workflows/test.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,10 @@ jobs:
4545
node-version: ${{ matrix.node-version }}
4646
cache: "yarn"
4747
- uses: bahmutov/npm-install@v1
48-
with:
49-
install-command: yarn --frozen-lockfile --silent
50-
working-directory: ./
5148
- name: Run lint
5249
run: CI=true yarn lint
53-
working-directory: ./
5450
- name: Run Yarn tests
5551
run: CI=true yarn only-run-tests
56-
working-directory: ./
5752
build-js-client:
5853
name: Build and Test JS client
5954
runs-on: "buildjet-2vcpu-ubuntu-2204"
@@ -73,15 +68,11 @@ jobs:
7368
node-version: ${{ matrix.node-version }}
7469
cache: "yarn"
7570
- uses: bahmutov/npm-install@v1
76-
with:
77-
install-command: yarn --frozen-lockfile --silent
78-
working-directory: ./
7971
- name: Run build
8072
run: yarn build-js-client
8173
working-directory: ./
8274
- uses: bahmutov/npm-install@v1
8375
with:
84-
install-command: yarn --frozen-lockfile --silent
8576
working-directory: ./js-dist
8677
- name: Run tests
8778
run: CI=true yarn only-run-tests

0 commit comments

Comments
 (0)