Skip to content

Commit

Permalink
fix: publish workflow npm dist-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Mar 26, 2024
1 parent a8d34fc commit bdbd53e
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env:
access: public
registry: https://registry.npmjs.org
token: ${{ secrets.NPMJS_GRANULAR_TOKEN }}
prefix: v1

on:
workflow_dispatch:
Expand Down Expand Up @@ -57,135 +58,135 @@ jobs:

- name: Build and publish schema
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/schema
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish components
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/components
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v11
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v11
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v12
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v12
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v13
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v13
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v14
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v14
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v15
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v15
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v16
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v16
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter angular v17
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v17
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter react
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/react
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter react-standalone
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/react-standalone
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter solid
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/solid
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter vue
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/vue
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter preact
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/preact
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish adapter hydrate
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/adapters/hydrate
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish create-kolibri
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/create-kolibri
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish tools kolibri-cli
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/tools/kolibri-cli
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish theme default
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/themes/default
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish themes
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/themes
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish sample react
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/samples/react
env:
NODE_AUTH_TOKEN: ${{env.token}}
- name: Build and publish tools visual-tests
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/tools/visual-tests
env:
NODE_AUTH_TOKEN: ${{env.token}}

# deprecated packages
- name: Build and publish core
continue-on-error: true
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
working-directory: packages/core
env:
NODE_AUTH_TOKEN: ${{env.token}}
Expand Down

0 comments on commit bdbd53e

Please sign in to comment.