Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
martclanor committed Feb 8, 2025
1 parent a60ff97 commit 92686f8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow creates a release when a new tag is pushed to main

name: Release

on:
push:
tags:
- "*.*.*"
branches:
- auto_release_publish

jobs:
create-release:
runs-on: ubuntu-latest

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

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install project dependencies
run: npm ci

- name: Package Extension
run: npm run package

- name: Release
uses: softprops/action-gh-release@v2

0 comments on commit 92686f8

Please sign in to comment.