Skip to content

Commit

Permalink
feat: oa v4 (alpha) (#254)
Browse files Browse the repository at this point in the history
* ci: prepare alpha release

* feat: oa v4 alpha

* fix: lint errors

* test: update fixtures

* chore: update id description

* test: update fixtures

* chore: improve readability

* fix: pr review suggestions

* fix: stricter checks for isStringArray

* fix: getDocumentData for v4

* chore: update getTemplateURL error message
  • Loading branch information
HJunyuan authored Sep 7, 2023
1 parent 7c36aab commit 5f7b366
Show file tree
Hide file tree
Showing 36 changed files with 16,380 additions and 8,743 deletions.
9 changes: 3 additions & 6 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 Down Expand Up @@ -30,12 +31,8 @@ jobs:
node-version: 18.x
- run: npm ci && npm run postinstall
- 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 5f7b366

Please sign in to comment.