-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add `pkg.pr.new` * chore: use node 20
- Loading branch information
Showing
4 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
### Description | ||
|
||
<!-- Please insert your description here and provide info about the "what" this PR is solving. --> | ||
|
||
<!---------------------------------------------------------------------- | ||
Before creating the pull request, please make sure you do the following: | ||
- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us reviewing it. | ||
- Read the contribution docs at https://github.com/vite-pwa/remix/blob/main/CONTRIBUTING.md | ||
- Ensure that PR title follows conventional commits (https://www.conventionalcommits.org) | ||
- Update the corresponding documentation if needed. | ||
- Include relevant tests that fail without this PR but pass with it. | ||
Thank you for contributing to vite-pwa/remix! | ||
-----------------------------------------------------------------------> | ||
|
||
### Linked Issues | ||
|
||
<!-- e.g. fixes #123 --> | ||
|
||
### Additional Context | ||
|
||
<!-- Is there anything you would like the reviewers to focus on? --> | ||
|
||
--- | ||
|
||
> [!TIP] | ||
> The author of this PR can publish a _preview release_ by commenting `/publish` below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Add continuous release label | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
label: | ||
if: ${{ github.event.issue.pull_request && (github.event.comment.user.id == github.event.issue.user.id || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR') && startsWith(github.event.comment.body, '/publish') }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: gh issue edit ${{ github.event.issue.number }} --add-label cr-tracked --repo ${{ github.repository }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CR_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CR | ||
|
||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [opened, synchronize, labeled, ready_for_review] | ||
|
||
permissions: {} | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release: | ||
if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpx pkg-pr-new publish --compact --no-template --pnpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@vite-pwa/remix", | ||
"type": "module", | ||
"version": "0.1.0", | ||
"packageManager": "pnpm@9.1.1", | ||
"packageManager": "pnpm@9.7.1", | ||
"description": "Zero-config PWA for Remix", | ||
"author": "antfu <[email protected]>", | ||
"license": "MIT", | ||
|