Skip to content

Commit

Permalink
chore: add updater workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
keiko233 committed Nov 16, 2023
1 parent a8c74e3 commit 0820d6d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/updater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Updater CI

on: workflow_dispatch

jobs:
release-update:
runs-on: ubuntu-latest
if: |
startsWith(github.repository, 'keiko233')
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: "20"

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Pnpm install
run: pnpm i

- name: Release updater file
run: pnpm updater
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit 0820d6d

@Mgodoyd
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Please sign in to comment.