-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,11 +59,17 @@ jobs: | |
await generateReleaseNotes() | ||
- name: Run tests | ||
run: npm run test | ||
|
||
- name: Build release | ||
run: npm run build:release | ||
|
||
- name: Create pull request | ||
run: gh pr create --title "Release ${{ inputs.version }}" --body-file "release-notes-body" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: gh pr create --title "Release ${{ inputs.version }}" --body-file "release-notes-body" | ||
run: | | ||
git config --global user.name 'govuk-design-system-ci' | ||
git config --global user.email '[email protected]' | ||
git commit -am "Release TEST" | ||
git checkout -b release-TEST | ||
git push -u origin release-TEST | ||
gh pr create --base main --head release-TEST --title "Release TEST" --body-file "release-notes-body" |
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ dist/ | |
*.log | ||
*.tsbuildinfo | ||
*.zip | ||
release-notes-body | ||
|
||
# Project lockfile only | ||
package-lock.json | ||
|