Skip to content

Bump figma-docgen to v0.7.0 #140

Bump figma-docgen to v0.7.0

Bump figma-docgen to v0.7.0 #140

Workflow file for this run

name: Release
on:
# workflow_run:
# workflows: [Figma release]
# types:
# - completed
# pull_request:
# branches:
# - main
# types: [closed]
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
version:
name: Version
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install Dependencies
run: npm i
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//npm.pkg.github.com/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release Pull Request or create GitHub release
id: changesets
uses: changesets/action@e9cc34b540dd3ad1b030c57fd97269e8f6ad905a
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
title: Next release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}