-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(terra-draw): add release actions for all adapters (#408)
- Loading branch information
1 parent
9208d9c
commit 890e908
Showing
14 changed files
with
555 additions
and
2 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
.github/workflows/terra-draw-arcgis-adapter-dry-run-release.yml
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,41 @@ | ||
name: terra-draw-arcgis-adapter Dry-run Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-arcgis-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-arcgis-adapter | ||
run: npm run release:dryrun | ||
|
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,51 @@ | ||
name: terra-draw-arcgis-adapter Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-arcgis-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-arcgis-adapter | ||
run: npm run release | ||
|
||
- name: Push upstream | ||
run: git push origin main | ||
|
||
- name: Push tags upstream | ||
run: git push origin main --tags | ||
|
||
- run: npm publish | ||
working-directory: ./packages/terra-draw-arcgis-adapter | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
41 changes: 41 additions & 0 deletions
41
.github/workflows/terra-draw-google-maps-adapter-dry-run-release.yml
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,41 @@ | ||
name: terra-draw-google-maps-adapter Dry-run Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-google-maps-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-google-maps-adapter | ||
run: npm run release:dryrun | ||
|
51 changes: 51 additions & 0 deletions
51
.github/workflows/terra-draw-google-maps-adapter-release.yml
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,51 @@ | ||
name: terra-draw-google-maps-adapter Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-google-maps-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-google-maps-adapter | ||
run: npm run release | ||
|
||
- name: Push upstream | ||
run: git push origin main | ||
|
||
- name: Push tags upstream | ||
run: git push origin main --tags | ||
|
||
- run: npm publish | ||
working-directory: ./packages/terra-draw-google-maps-adapter | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
41 changes: 41 additions & 0 deletions
41
.github/workflows/terra-draw-leaflet-adapter-dry-run-release.yml
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,41 @@ | ||
name: terra-draw-leaflet-adapter Dry-run Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-leaflet-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-leaflet-adapter | ||
run: npm run release:dryrun | ||
|
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,51 @@ | ||
name: terra-draw-leaflet-adapter Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-leaflet-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-leaflet-adapter | ||
run: npm run release | ||
|
||
- name: Push upstream | ||
run: git push origin main | ||
|
||
- name: Push tags upstream | ||
run: git push origin main --tags | ||
|
||
- run: npm publish | ||
working-directory: ./packages/terra-draw-leaflet-adapter | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
41 changes: 41 additions & 0 deletions
41
.github/workflows/terra-draw-mapbox-gl-adapter-dry-run-release.yml
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,41 @@ | ||
name: terra-draw-mapbox-gl-adapter Dry-run Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-mapbox-gl-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-mapbox-gl-adapter | ||
run: npm run release:dryrun | ||
|
51 changes: 51 additions & 0 deletions
51
.github/workflows/terra-draw-mapbox-gl-adapter-release.yml
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,51 @@ | ||
name: terra-draw-mapbox-gl-adapter Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.TERRA_DRAW_PAT }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Update Docs | ||
run: npm run docs | ||
|
||
- name: Run build | ||
working-directory: ./packages/terra-draw-mapbox-gl-adapter | ||
run: npm run build | ||
|
||
- name: Set git credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "James Milner" | ||
- name: Release | ||
working-directory: ./packages/terra-draw-mapbox-gl-adapter | ||
run: npm run release | ||
|
||
- name: Push upstream | ||
run: git push origin main | ||
|
||
- name: Push tags upstream | ||
run: git push origin main --tags | ||
|
||
- run: npm publish | ||
working-directory: ./packages/terra-draw-mapbox-gl-adapter | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
Oops, something went wrong.