Skip to content

Commit ee0c501

Browse files
authored
fix: Updates e2e to not use sharding with Playwright; Removes unnecessary parts of release-please. (#43)
1 parent d2cd44c commit ee0c501

File tree

2 files changed

+6
-34
lines changed

2 files changed

+6
-34
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# - run: npm run build
6464
- run: npx playwright install-deps
6565
- run: npx playwright install
66-
- run: npx playwright test -- --shard=${{matrix.shard}}/8
66+
- run: npx playwright test
6767
env:
6868
CI: true
6969
- name: Push test report to artifacts

.github/workflows/release-please.yml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
## handy version incrementing which is useful for us.
1919

2020
on:
21-
push:
22-
branches: [main]
21+
push:
22+
branches: [main]
2323

2424
permissions:
25-
contents: write
26-
pull-requests: write
25+
contents: write
26+
pull-requests: write
2727

2828
name: Release Please
2929

@@ -38,35 +38,7 @@ jobs:
3838
release-type: node
3939
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
4040
package-name: "@googlemaps-samples/js-api-samples"
41-
bump-minor-pre-major: true
42-
43-
- if: ${{ steps.release.outputs.release_created }}
44-
name: Checkout
45-
uses: actions/checkout@v3
46-
47-
- if: ${{ steps.release.outputs.release_created }}
48-
name: Setup Node
49-
uses: actions/setup-node@v3
50-
with:
51-
node-version: 20
52-
cache: 'npm' # Cache node_modules
53-
54-
- if: ${{ steps.release.outputs.release_created }}
55-
name: Install Dependencies
56-
run: npm ci
57-
58-
- if: ${{ steps.release.outputs.release_created }}
59-
name: Build
60-
run: npm run build
61-
62-
- if: ${{ steps.release.outputs.release_created }}
63-
name: Update dist
64-
run: |
65-
git config --global user.name 'googlemaps-bot'
66-
git config --global user.email '[email protected]'
67-
git add dist
68-
git commit -m "chore: update dist folder [skip ci]" || true
69-
git push origin
41+
bump-minor-pre-major: true
7042

7143
# Upload /dist to the Cloud bucket.
7244
- if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)