-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- feat(ignored_ods): ignore specified org domains - style(es6): replace for i with for...of - ci(publish): only when package.json modified - ci: use shared workflows
- Loading branch information
Showing
9 changed files
with
116 additions
and
175 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 |
---|---|---|
|
@@ -4,48 +4,14 @@ on: | |
push: | ||
branches: | ||
- master | ||
paths: | ||
- package.json | ||
|
||
env: | ||
CI: true | ||
node-version: 16 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
services: | ||
redis: | ||
image: redis | ||
ports: | ||
- 6379:6379 | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
name: Node ${{ env.node-version }} | ||
with: | ||
node-version: ${{ env.node-version }} | ||
- uses: actions/checkout@v3 | ||
- run: npm install | ||
- run: npm test | ||
publish: | ||
uses: haraka/.github/.github/workflows/publish.yml@master | ||
secrets: inherit | ||
|
||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
name: Node ${{ env.node-version }} | ||
with: | ||
node-version: ${{ env.node-version }} | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# fetch-depth 0 needed by GitHub Release | ||
|
||
- name: publish to NPM | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
|
||
- name: GitHub Release | ||
uses: justincy/[email protected] | ||
id: release |
Submodule .release
updated
10 files
+29 −0 | CHANGELOG.md | |
+37 −23 | README.md | |
+15 −2 | base.sh | |
+0 −10 | cleanup.sh | |
+0 −51 | do.sh | |
+22 −0 | finish.sh | |
+16 −0 | npm/prepend-scope.cjs | |
+0 −23 | push.sh | |
+124 −0 | start.sh | |
+28 −0 | submit.sh |
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
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
Oops, something went wrong.