fix: fix wrong export of subscription type #330
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
name: Next release | |
on: | |
push: | |
branches: | |
- "main" | |
workflow_dispatch: | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
build: | |
if: ${{ !contains(github.event.head_commit.message, 'chore(release):') }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [21] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: corepack enable | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version: ${{ matrix.node }} | |
registry-url: "https://registry.npmjs.org/" | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 3 | |
- name: Install dependencies | |
run: npm install | |
- name: Install dependencies | |
run: cd playground/nuxt-app && npm install && npm run build | |
- run: npm run build | |
- name: Set git identity | |
run: | | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
- run: npm version prerelease --preid=dev | |
- name: Push | |
run: | | |
git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }} | |
git push -o ci.skip | |
- name: Publish Package | |
run: npm publish --tag next --access public --no-git-checks | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: get-npm-version | |
id: package-version | |
uses: martinbeentjes/[email protected] | |
- name: Deploy notification | |
if: always() | |
uses: adamkdean/simple-slack-notify@master | |
with: | |
channel: "#deployments" | |
status: ${{ job.status }} | |
success_text: "Version (#${{ steps.package-version.outputs.current-version}}) von @lenne.tech/nuxt-base wurde erfolgreich released." | |
failure_text: "Release (#${{ steps.package-version.outputs.current-version}}) von @lenne.tech/nuxt-base ist fehlgeschlagen." | |
cancelled_text: "Release (#$${{ steps.package-version.outputs.current-version}}) von @lenne.tech/nuxt-base wurde abgebrochen." |