chore: bump version to 0.9.0
#6
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: 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}} |