Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
green1052 authored Jul 4, 2024
1 parent cc23887 commit 2b869d5
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,31 @@
name: Build And Release

on:
'on':
push:
tags:
- "*.*.*"

- '*.*.*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm run build

- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
dist/betternovelpia.user.js
dist/betternovelpia.meta.js
generate_release_notes: true
generate_release_notes: true

0 comments on commit 2b869d5

Please sign in to comment.