Skip to content

Commit 692e3ea

Browse files
authored
Merge branch 'main' into release-please--branches--main--components--plugin-nextjs
2 parents 2fedb50 + 50534ba commit 692e3ea

File tree

6 files changed

+84
-256
lines changed

6 files changed

+84
-256
lines changed

.github/workflows/run-tests.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,6 @@ jobs:
254254
npx playwright merge-reports --reporter html ./all-blob-reports
255255
npx playwright merge-reports --reporter json ./all-blob-reports > merged_reports.json
256256
257-
# FIXME(serhalp) Once we recover access to the SquidlifyBot Slack App, reenable this.
258-
# - name: Notify Slack
259-
# if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.head_ref == 'main'
260-
# run: npx playwright-slack-report -j merged_reports.json -c tests/playwright-slack-conf.json
261-
# env:
262-
# SLACK_BOT_USER_OAUTH_TOKEN: ${{ secrets.SLACK_BOT_USER_OAUTH_TOKEN }}
263-
# RESULTS_VERSION: ${{ matrix.version }}
264-
# RESULTS_URL: ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}
265-
266257
- name: Upload HTML report
267258
uses: actions/upload-artifact@v4
268259
with:

.github/workflows/test-e2e.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,11 @@ jobs:
7474
if [ "${VERSION_SPEC}" != "[" ]; then
7575
VERSION_SPEC+=","
7676
fi
77-
VERSION_SPEC+="{\"selector\":\"$SELECTOR\""
78-
79-
if [ "$SELECTOR" == "latest" ]; then
80-
VERSION_SPEC+=",\"tag\":\"$(curl -s https://api.github.com/repos/vercel/next.js/releases/latest | jq -r .tag_name)\""
81-
elif [ "$SELECTOR" == "canary" ]; then
82-
VERSION_SPEC+=",\"tag\":\"$(curl -s https://api.github.com/repos/vercel/next.js/releases | jq -r '.[] | select(.prerelease == true) | .tag_name' | head -n 1)\""
83-
else
84-
VERSION_SPEC+=",\"tag\":\"v$SELECTOR\""
85-
fi
8677
87-
VERSION_SPEC+=",\"version\":\"$(npm view next@$SELECTOR version)\""
78+
VERSION=$(npm view next@$SELECTOR version)
79+
TAG="v$VERSION"
8880
89-
VERSION_SPEC+="}"
81+
VERSION_SPEC+="{\"selector\":\"$SELECTOR\",\"tag\":\"$TAG\",\"version\":\"$VERSION\"}"
9082
done
9183
VERSION_SPEC+="]"
9284
echo "version_spec=$VERSION_SPEC" >> $GITHUB_OUTPUT
@@ -253,9 +245,6 @@ jobs:
253245
id: publish-test-results
254246
if: success() || failure()
255247
run: |
256-
echo "slackEvent<<NETLIFY_EOF" >> $GITHUB_OUTPUT
257-
deno run -A tools/deno/junit2slack.ts --dir artifacts --version ${{matrix.version_spec.selector}} --runUrl ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}} >> $GITHUB_OUTPUT
258-
echo "NETLIFY_EOF" >> $GITHUB_OUTPUT
259248
deno run -A tools/deno/junit2json.ts artifacts ${{ matrix.version_spec.tag }} > report/test-results.json
260249
deno run -A tools/deno/generate-md.ts >> $GITHUB_STEP_SUMMARY
261250
@@ -267,13 +256,3 @@ jobs:
267256
# actual filename.
268257
name: ${{matrix.version_spec.selector}}-test-results.json
269258
path: report/test-results.json
270-
271-
# FIXME(serhalp) Once we recover access to the SquidlifyBot Slack App, reenable this.
272-
# - name: Notify Slack
273-
# if: ${{ (success() || failure()) && github.event_name == 'schedule' }}
274-
# uses: slackapi/[email protected]
275-
# env:
276-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
277-
# SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
278-
# with:
279-
# payload: ${{ steps.publish-test-results.outputs.slackEvent }}

e2e-report/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)