From 3b1717d39285604f4f84eccebb77f977a4d9820d Mon Sep 17 00:00:00 2001 From: Jason Adams Date: Wed, 26 May 2021 16:31:10 -0700 Subject: [PATCH 1/2] chore: announce releases on Slack --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1025c1d..fdc3fda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,3 +41,9 @@ jobs: asset_path: ${{github.workspace}}/give.zip asset_name: ${{ github.event.repository.name }}.zip asset_content_type: application/zip + + - name: Slack Notification + uses: someimportantcompany/github-actions-slack-message@v1 + with: + webhook-url: ${{ secrets.SLACK_ANNOUNCEMENT_WEBHOOK }} + text: "*${{ github.event.repository.name }} ${{ github.event.release.name }} has just been released! 🎉* \n\n Here's what's new: \n\n ${{ github.event.release.body }} \n\n <${{ github.event.release.html_url }}|Link to Release>" From 17507b28c7a10bdc0071117a3bfb1d97f27e3a7a Mon Sep 17 00:00:00 2001 From: Jason Adams Date: Wed, 26 May 2021 16:31:43 -0700 Subject: [PATCH 2/2] chore: add build script for releases --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index c6153d6..364430e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "prod": "npm run production", "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", + "build": "npm run production", "lint": "npm run lint:js & npm run lint:scss & npm run lint:php", "lint:js": "eslint src/**/resources/**/*.js", "lint:js-fix": "eslint src/**/resources/**/*.js --fix",