Skip to content

Commit

Permalink
NEXT-33446 - move publish to npm worflow of icon kit to root
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Feb 7, 2024
1 parent 03be122 commit 8508471
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
publish:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -31,3 +30,26 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'

publish-tokens:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: lint
run: pnpm run lint:all --filter @shopware-ag/meteor-icon-kit

- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
30 changes: 0 additions & 30 deletions packages/icon-kit/.github/workflows/npm-publish.yml

This file was deleted.

0 comments on commit 8508471

Please sign in to comment.