Skip to content

Commit

Permalink
pre release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AkifumiSato committed Aug 26, 2023
1 parent ecf79ab commit 6346b11
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
name: Install pnpm
with:
version: 8
run_install: false
- name: Install packages
run: pnpm install
run_install: true
- name: Show coverage
run: pnpm check
31 changes: 31 additions & 0 deletions .github/workflows/pr-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PR Release

on:
pull_request:
branches: [main]

jobs:
pr-release:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and cache nodejs
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- name: Publish
uses: kotarella1110/pr-voyager@v0
with:
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

0 comments on commit 6346b11

Please sign in to comment.