Skip to content

fix: DeepWiki SSE is being deprecated. (#26) #20

fix: DeepWiki SSE is being deprecated. (#26)

fix: DeepWiki SSE is being deprecated. (#26) #20

Workflow file for this run

name: πŸš€ Auto Release
on:
push:
branches:
- main
jobs:
release:
runs-on: macos-latest
if: startsWith(github.event.head_commit.message , 'chore(release):')
permissions:
id-token: write
contents: write
env:
NODE_OPTIONS: '--max-old-space-size=8192'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm install
- name: lint
run: npm run lint
- name: build
run: npm run build
env:
CI: false
- name: test
run: npm run test
- name: Get Version from package.json
id: get_version
run: echo "VERSION=$$(node -p "require('./package.json').version")" >> $$GITHUB_OUTPUT
- name: Publish to npm
run: npm publish --provenance --access public
env:
CI: true
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.get_version.outputs.VERSION }}
name: Release v${{ steps.get_version.outputs.VERSION }}
generate_release_notes: true
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}