Skip to content

Commit

Permalink
feat: v4 beta release (#288)
Browse files Browse the repository at this point in the history
* feat: oa-verify v4 (alpha) (#259)

* chore: upgrade to node 18

* ci: prepare alpha release

* feat: oa v4 alpha

* fix: lint errors

* test: update fixtures

* chore: separate .releaserc file

* chore: bump open-attestation to 6.8.0-alpha.1

* test: update snapshots based on new response by infura

* fix: align according to new oa v4 (beta) types

* chore: upgrade jest from v26 to v27

* chore: bump open-attestation to latest beta

* test: update v4 fixtures
  • Loading branch information
HJunyuan authored May 23, 2024
1 parent 7c550d7 commit 02af0e0
Show file tree
Hide file tree
Showing 15 changed files with 3,081 additions and 2,664 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- master
- alpha
- beta
- +([0-9])?(.{+([0-9]),x}).x

Expand All @@ -22,20 +23,16 @@ jobs:
release:
name: Publish Release
runs-on: ubuntu-latest
needs: [ tests, linters ]
needs: [tests, linters]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci
- run: npm run build
- uses: codfish/semantic-release-action@v2
id: semantic
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Output new release version
if: steps.semantic.outputs.new-release-published == 'true'
run: |
echo "🎉New Release Published: ${{ steps.semantic.outputs.release-version }}"
run: npx semantic-release
13 changes: 13 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
"master",
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
]
}
Loading

0 comments on commit 02af0e0

Please sign in to comment.