Skip to content

Commit

Permalink
Merge branch 'edge' into ME-4402-GHA-test-2
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi committed Dec 25, 2023
2 parents 8453327 + 8f24e8d commit 8a94f72
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 79 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Validate 👌
name: Validate 🚧

on:
pull_request:

jobs:
preview:
validate:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -32,8 +32,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
OUTPUT=$(npx semantic-release --dry-run)
echo "::set-output name=changelog::$OUTPUT"
echo "changelog<<EOF" >> $GITHUB_OUTPUT
echo "$(npx semantic-release --dry-run)" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Comment PR
uses: actions/github-script@v5
Expand All @@ -48,18 +49,16 @@ jobs:
const botComment = comments.find(comment => comment.user.login === 'github-actions[bot]');
const message = `${{ steps.changelog.outputs.changelog }}`;
if (botComment) {
await github.rest.issues.updateComment({
...context.repo,
comment_id: botComment.id,
body: message
body: `${{steps.changelog.outputs.changelog}}`
});
} else {
await github.rest.issues.createComment({
...context.repo,
issue_number,
body: message
body: `${{steps.changelog.outputs.changelog}}`
});
}
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
"analyze:light": "WEBPACK_BUILD_LIGHT=1 webpack --config webpack/analyzer.config.js",
"postbuild-all": "bundlewatch",
"precommit": "eslint src",
"predeploy": "deploy=true npm run build-all",
"deploy": "deploy=true node webpack/deploy.js",
"postdeploy": "git push origin master --follow-tags",
"dry:deploy": "node webpack/deploy.js dry",
"test": "jest --no-cache --detectOpenHandles",
"test:unit": "UNIT=TRUE jest --no-cache --env jsdom --testMatch='<rootDir>/test/unit/*.test.js'",
"snyk-protect": "snyk protect",
Expand Down
3 changes: 0 additions & 3 deletions sandbox.config.json

This file was deleted.

1 change: 0 additions & 1 deletion setupJest.js

This file was deleted.

34 changes: 0 additions & 34 deletions webpack/deploy.js

This file was deleted.

29 changes: 0 additions & 29 deletions webpack/versioning.js

This file was deleted.

0 comments on commit 8a94f72

Please sign in to comment.