fix: finalise OA v4.0 context url (#311) #44
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
on: | |
push: | |
branches: | |
- master | |
- alpha | |
- beta | |
- +([0-9])?(.{+([0-9]),x}).x | |
env: | |
NODE_ENV: ci | |
name: Release | |
jobs: | |
tests: | |
name: Tests | |
uses: ./.github/workflows/tests.yml | |
linters: | |
name: Linters | |
uses: ./.github/workflows/linters.yml | |
release: | |
name: Publish Release | |
runs-on: ubuntu-latest | |
needs: [tests, linters] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm ci && npm run postinstall | |
- run: npm run build | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |