Skip to content

Commit

Permalink
feat: publish previews to pkg.pr.new
Browse files Browse the repository at this point in the history
  • Loading branch information
thejustinwalsh authored Feb 18, 2025
1 parent 80292b5 commit 4fd64ba
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Preview
on:
pull_request:
push:
branches:
- "**"
tags:
- "!**"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@ts-defold'
- run: npm ci
- run: |
npm run lint
npm run bundle
- run: npx pkg-pr-new publish

0 comments on commit 4fd64ba

Please sign in to comment.