-
Notifications
You must be signed in to change notification settings - Fork 62
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 #4255 from GordonSmith/release-please/bootstrap/de…
…fault chore: bootstrap releases for path: .
- Loading branch information
Showing
5 changed files
with
209 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,116 @@ | ||
on: | ||
push: | ||
branches: | ||
- trunk | ||
- candidate-3.x.x | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
name: release-please | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Initialize Release Please | ||
id: release | ||
uses: googleapis/release-please-action@v4 | ||
with: | ||
target-branch: ${{ github.ref_name }} | ||
token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
config-file: release-please-config.json | ||
manifest-file: .release-please-manifest.json | ||
|
||
- name: Checkout Sources | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install NodeJS | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: "https://registry.npmjs.org" | ||
scope: "@hpcc-js" | ||
|
||
- name: Install OS Dependencies | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
pip install pandas scikit-learn | ||
- name: Export GitHub Actions cache environment variables | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | ||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | ||
- name: Install Dependencies | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
npm ci | ||
- name: Lint | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
npm run lint-all | ||
- name: Build | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
npm run build | ||
- name: Install Test Dependencies | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
sudo apt-get update | ||
sudo npx -y playwright install chromium --with-deps | ||
npx -y playwright install chromium | ||
wget https://github.com/hpcc-systems/HPCC-Platform/releases/download/community_9.6.50-1/hpccsystems-platform-community_9.6.50-1jammy_amd64_withsymbols.deb | ||
- name: Install HPCC Platform | ||
if: ${{ steps.release.outputs.release_created }} | ||
continue-on-error: true | ||
run: | | ||
sudo apt install -f ./hpccsystems-platform-community_9.6.50-1jammy_amd64_withsymbols.deb | ||
sudo /etc/init.d/hpcc-init start | ||
- name: Test | ||
if: ${{ steps.release.outputs.release_created }} | ||
env: | ||
CI: true | ||
run: | | ||
npm run test-local | ||
# - name: Calculate Coverage | ||
# if: ${{ steps.release.outputs.release_created }} | ||
# run: | | ||
# npm run coverage | ||
|
||
# - name: Update Coveralls | ||
# if: ${{ steps.release.outputs.release_created }} | ||
# uses: coverallsapp/github-action@v2 | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Publish | ||
if: ${{ steps.release.outputs.release_created }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
run: | | ||
npm run publish | ||
- name: Purge jsdelivr | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
npm run purge-jsdelivr | ||
- name: Upload error logs | ||
if: ${{ failure() || cancelled() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: all-logs | ||
path: ./**/*.log |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
".": "2.106.11", | ||
"packages/api": "2.13.0", | ||
"packages/chart": "2.85.0", | ||
"packages/codemirror": "2.63.0", | ||
"packages/codemirror-shim": "2.36.0", | ||
"packages/common": "2.72.0", | ||
"packages/comms": "2.97.0", | ||
"packages/composite": "2.8.2", | ||
"packages/dataflow": "9.0.0", | ||
"packages/ddl-shim": "2.21.0", | ||
"packages/deck-shim": "2.7.0", | ||
"packages/dgrid": "2.33.0", | ||
"packages/dgrid-shim": "2.25.0", | ||
"packages/dgrid2": "2.4.0", | ||
"packages/eclwatch": "2.75.8", | ||
"packages/esbuild-plugins": "1.1.2", | ||
"packages/form": "2.11.2", | ||
"packages/graph": "2.86.0", | ||
"packages/html": "2.43.0", | ||
"packages/layout": "2.50.2", | ||
"packages/leaflet-shim": "2.4.0", | ||
"packages/loader": "2.106.11", | ||
"packages/map": "2.78.2", | ||
"packages/map-deck": "2.8.0", | ||
"packages/marshaller": "2.26.8", | ||
"packages/observable-md": "2.54.19", | ||
"packages/observablehq-compiler": "1.3.0", | ||
"packages/other": "2.16.2", | ||
"packages/phosphor": "2.19.2", | ||
"packages/phosphor-shim": "2.15.0", | ||
"packages/preact-shim": "2.17.0", | ||
"packages/react": "2.54.0", | ||
"packages/requirejs-shim": "2.2.0", | ||
"packages/timeline": "2.53.1", | ||
"packages/tree": "2.41.0", | ||
"packages/util": "2.52.0" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
"release-type": "node", | ||
"include-component-in-tag": true, | ||
"include-v-in-tag": true, | ||
"tag-separator": "@", | ||
"separate-pull-requests": true, | ||
"packages": { | ||
".": {}, | ||
"packages/api": {}, | ||
"packages/chart": {}, | ||
"packages/codemirror": {}, | ||
"packages/codemirror-shim": {}, | ||
"packages/common": {}, | ||
"packages/comms": {}, | ||
"packages/composite": {}, | ||
"packages/dataflow": {}, | ||
"packages/ddl-shim": {}, | ||
"packages/deck-shim": {}, | ||
"packages/dgrid": {}, | ||
"packages/dgrid-shim": {}, | ||
"packages/dgrid2": {}, | ||
"packages/eclwatch": {}, | ||
"packages/esbuild-plugins": {}, | ||
"packages/form": {}, | ||
"packages/graph": {}, | ||
"packages/html": {}, | ||
"packages/layout": {}, | ||
"packages/leaflet-shim": {}, | ||
"packages/loader": {}, | ||
"packages/map": {}, | ||
"packages/map-deck": {}, | ||
"packages/marshaller": {}, | ||
"packages/observable-md": {}, | ||
"packages/observable-shim": {}, | ||
"packages/observablehq-compiler": {}, | ||
"packages/other": {}, | ||
"packages/phosphor": {}, | ||
"packages/phosphor-shim": {}, | ||
"packages/preact-shim": {}, | ||
"packages/react": {}, | ||
"packages/requirejs-shim": {}, | ||
"packages/timeline": {}, | ||
"packages/tree": {}, | ||
"packages/util": {} | ||
}, | ||
"plugins": [ | ||
{ | ||
"type": "node-workspace" | ||
} | ||
] | ||
} |