-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove simple-slack-notify and move to using github slack app (#2819)
- Loading branch information
Showing
6 changed files
with
62 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Run macro and script tests | ||
on: [push] | ||
|
||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
RUNNING_IN_CI: true | ||
|
||
jobs: | ||
run-macro-and-script-tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Read .nvmrc file | ||
id: read-nvmrc-file | ||
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.read-nvmrc-file.outputs.nvmrc }}" | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Run macro and script tests | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Release | |
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
add-templates-to-release: | ||
runs-on: ubuntu-latest | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Run visual regression tests | ||
on: [push] | ||
|
||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
RUNNING_IN_CI: true | ||
|
||
jobs: | ||
run-visual-regression-tests: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
url: https://github.com/ONSdigital/design-system.git | ||
- name: Read .nvmrc file | ||
id: read-nvmrc-file | ||
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.read-nvmrc-file.outputs.nvmrc }}" | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Install Docker | ||
run: | | ||
brew install docker | ||
colima start | ||
- name: Run visual regression tests | ||
run: yarn test-visual |