Skip to content

typo: external-controller-cors array items #13

typo: external-controller-cors array items

typo: external-controller-cors array items #13

Workflow file for this run

name: release on tag
on:
push:
tags:
- "v*.*.*"
permissions: write-all
concurrency:
group: "${{ github.workflow }} - ${{ github.head_ref || github.ref }}"
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
release-on-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Git
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Bundle JSON Schemas
run: npm install && npm run release
- name: Github Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prerelease: false
make_latest: true
files: |
schemas/*
- name: NPM Release
run: npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Commit and Push
run: |
git commit --allow-empty -am 'Release On Tag'
git push origin HEAD:main