Skip to content

chore(repo): add pkg.pr.new #657

chore(repo): add pkg.pr.new

chore(repo): add pkg.pr.new #657

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
if: github.event_name == 'pull_request'
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Test
uses: ./.github/actions/test
continuous-release:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
with:
node_version: 20
- run: pnpx nx run qwik-nx:build
- run: pnpx pkg-pr-new publish --pnpm ./dist/packages/qwik-nx
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN is provided automatically in any repository