0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-21 21:23:06 -05:00
penpot-exporter-figma-plugin/.github/workflows/release.yaml
Jordi Sala Morales 7a7ad6ae60
Add release management with changelog (#46)
* Add release management with changelogs

* wip

* fix workflows

* ignore changeset folder

* fix release workflow
2024-04-19 13:21:32 +02:00

31 lines
634 B
YAML

name: Publish and release
on:
push:
branches: [main]
permissions:
contents: write
issues: write
pull-requests: write
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['20.x']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: bahmutov/npm-install@v1
- uses: changesets/action@v1
with:
title: Release
publish: npx changeset tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}