Skip to content

Commit

Permalink
ci: Inline figma connect publish in on-release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 10, 2024
1 parent e806222 commit 5aa8169
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
10 changes: 0 additions & 10 deletions .github/publish_code_connect/action.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/publish_code_connect/index.js

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ jobs:
run: npm ci
- name: Compile Typescript files
run: tsc
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Publish
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish code connect
uses: ./.github/publish_code_connect
with:
figma-access-token: ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN }}
run: npx figma connect publish --token ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKENf}}

update_npm_dependencies:
needs: publish
Expand Down

0 comments on commit 5aa8169

Please sign in to comment.