Skip to content

Commit

Permalink
add release job
Browse files Browse the repository at this point in the history
  • Loading branch information
piscis committed Oct 27, 2022
1 parent 71696bf commit ba9ad47
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: "tagged-release"

on:
push:
tags:
- "v*"

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:

- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: pnpm/action-setup@v2
with:
version: 7
run_install: false

- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "pnpm"

- name: Install dependencies
run: |
pnpm install
- name: "Build & test"
run: |
pnpm test
pnpm build
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
README.md
.output/*.html

0 comments on commit ba9ad47

Please sign in to comment.