Skip to content

Commit

Permalink
Update API Augment to 2500 (#2525)
Browse files Browse the repository at this point in the history
* Fix Scrape Script

* update some CI versions
  • Loading branch information
timbrinded authored Oct 16, 2023
1 parent 834d44d commit 69b2385
Show file tree
Hide file tree
Showing 37 changed files with 9,451 additions and 15,167 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-typescript-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.sha }}
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- name: Build typescript API
run: |
cd typescript-api
npm install
npm run build
- name: Publish typescript API
uses: JS-DevTools/npm-publish@v1
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
package: typescript-api/build/package.json
Expand All @@ -37,10 +37,10 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.sha }}
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- name: Upgrade polkadotjs for tests
run: |
cd tests
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upgrade-typescript-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
mkdir -p build
docker cp dummy:/moonbeam/moonbeam build/moonbeam
docker rm -f dummy
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- name: Upgrade polkadotjs for moonbeam-types-bundle
run: |
cd moonbeam-types-bundle
Expand All @@ -43,7 +43,7 @@ jobs:
cd typescript-api
./scripts/runtime-upgrade.sh ${{ github.event.inputs.spec_version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v5
with:
base: master
branch: "typescript-api-${{ github.event.inputs.spec_version }}"
Expand Down
Loading

0 comments on commit 69b2385

Please sign in to comment.