Skip to content

Commit

Permalink
chore: add ci deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pnodet committed Aug 26, 2024
1 parent b60d692 commit e801b74
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy
on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'

jobs:
build:
runs-on: ubuntu-latest

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

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish --compact --comment=update

0 comments on commit e801b74

Please sign in to comment.