Skip to content

chore: bump version to 0.9.3 #9

chore: bump version to 0.9.3

chore: bump version to 0.9.3 #9

name: Publish to GitHub Packages
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
registry-url: https://npm.pkg.github.com
scope: '@portablestudios'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Update the package name for GitHub
run: |
sed -i 's/"name": "figma2theme"/"name": "@portablestudios\/figma2theme"/' package.json
- name: Build the project
run: yarn build
- name: Publish the project
run: yarn publish --non-interactive --registry https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}