-
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.
Merge pull request #44 from openaddresses/date-fix
Fix date, switch to Flat ESLint & add release
- Loading branch information
Showing
26 changed files
with
990 additions
and
1,422 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,32 +1,40 @@ | ||
name: NPM Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get tag | ||
id: tag | ||
uses: dawidd6/action-get-tag@v1 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: npm run build | ||
run: npm run build | ||
|
||
- name: npm publish | ||
run: npm publish | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_SECRET }} | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get tag | ||
id: tag | ||
uses: dawidd6/action-get-tag@v1 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: npm run build | ||
run: npm run build | ||
|
||
- name: npm publish | ||
run: npm publish | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_SECRET }} | ||
|
||
- name: Generate CHANGELOG | ||
run: ./release ${{steps.tag.outputs.tag}} > RELEASE | ||
|
||
- name: Github Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
body_path: RELEASE |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.