Skip to content

Commit

Permalink
Add GitHub workflow to publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwillmoore committed Dec 28, 2022
1 parent 9619812 commit 8cbfde4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release plugin

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Build project
run: |
npm install
npm run build
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "main.js,manifest.json"

0 comments on commit 8cbfde4

Please sign in to comment.