-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #336 from OpenFn/main-tmp
Automate publish
- Loading branch information
Showing
10 changed files
with
368 additions
and
14 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 |
---|---|---|
|
@@ -54,4 +54,8 @@ jobs: | |
workflows: | ||
build_and_test: | ||
jobs: | ||
- test | ||
- test: | ||
filters: | ||
branches: | ||
ignore: | ||
- main |
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 |
---|---|---|
@@ -1,11 +1,29 @@ | ||
## Any notes for the reviewer ? | ||
## Short Description | ||
|
||
A one or two-sentence description of what this PR does. | ||
|
||
## Related issue | ||
|
||
Fixes # | ||
|
||
## Implementation Details | ||
|
||
A more detailed breakdown of the changes, including motivations (if not provided in the issue). | ||
|
||
## QA Notes | ||
|
||
List any considerations/cases/advice for testing/QA here. | ||
|
||
## Checklist before requesting a review | ||
|
||
- [ ] I have performed a self-review of my code | ||
- [ ] If needed, I've updated the changelog | ||
- [ ] Amber has QA'd this feature | ||
- [ ] I have added unit tests | ||
- [ ] Changesets have been added (if there are production code changes) | ||
|
||
## Release branch checklist | ||
|
||
If this is a release branch: | ||
|
||
- [ ] Ensure versions have been bumped in package.json | ||
- [ ] Run `pnpm install` after bumping versions | ||
- [ ] Ensure tags have been pushed |
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,29 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm test | ||
- run: pnpm config set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: pnpm publish -r --report-summary --publish-branch main | ||
- run: pnpm run generate-slack-report | ||
env: | ||
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} |
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 |
---|---|---|
|
@@ -24,6 +24,8 @@ ts.cache | |
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
pnpm-publish-summary.json | ||
|
||
# OS | ||
.DS_Store | ||
|
||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.