zeta-icons: v0.9.1 #21
Workflow file for this run
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: CI - On Release | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Publish to NPM | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{github.ref_name}} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
registry-url: "https://registry.npmjs.org" | |
- name: Install packages | |
run: npm ci | |
- name: Compile Typescript files | |
run: tsc | |
- name: Publish | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish code connect | |
run: npx figma connect publish --token ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN}} | |
update_npm_dependencies: | |
needs: publish | |
uses: ./.github/workflows/update_dependencies.yml | |
secrets: inherit | |
update_flutter: | |
uses: ./.github/workflows/update_zeta_flutter.yml | |
secrets: inherit | |
update_android: | |
uses: ./.github/workflows/update_zds_android.yml | |
secrets: inherit |