Skip to content

Commit

Permalink
Create cr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
apai4 authored May 3, 2024
1 parent 3473043 commit 4bc2028
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Any Commit
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '18'

- run: npm ci
- run: npm run build
- run: npx pkg-pr-new publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4bc2028

Please sign in to comment.