Skip to content

Commit

Permalink
Merge pull request #374 from apollographql/pr/publish-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored Oct 18, 2024
2 parents 00956ea + 050c340 commit dd8e3a2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pkg-pr-new-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: pkg-pr-new Publish

on:
pull_request:
push:
branches:
- "**"
tags:
- "!**"

jobs:
prerelease:
name: pkg-pr-new Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn

- name: Install dependencies
run: yarn install

- name: Prebuild libs
run: yarn build:libs

- name: Build and publish to pkg.pr.new
run: yarn dlx pkg-pr-new publish --no-template packages/client-react-streaming packages/experimental-nextjs-app-support
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
# Upload webpack-stats.json to use on relative-ci.yaml workflow
- name: Upload webpack stats artifact
if: matrix.version == 'latest'
uses: relative-ci/agent-upload-artifact-action@v1
uses: relative-ci/agent-upload-artifact-action@v2
with:
webpackStatsFile: ./integration-test/nextjs/webpack-stats.json

Expand Down
6 changes: 3 additions & 3 deletions integration-test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ __metadata:
linkType: hard

"@apollo/client-react-streaming@exec:./shared/build-client-react-streaming.cjs::locator=%40integration-test%2Froot%40workspace%3A.":
version: 0.11.2
version: 0.11.3
resolution: "@apollo/client-react-streaming@exec:./shared/build-client-react-streaming.cjs#./shared/build-client-react-streaming.cjs::hash=48b117&locator=%40integration-test%2Froot%40workspace%3A."
dependencies:
ts-invariant: "npm:^0.10.3"
Expand Down Expand Up @@ -81,10 +81,10 @@ __metadata:
linkType: hard

"@apollo/experimental-nextjs-app-support@exec:./shared/build-experimental-nextjs-app-support.cjs::locator=%40integration-test%2Froot%40workspace%3A.":
version: 0.11.2
version: 0.11.3
resolution: "@apollo/experimental-nextjs-app-support@exec:./shared/build-experimental-nextjs-app-support.cjs#./shared/build-experimental-nextjs-app-support.cjs::hash=fd83cc&locator=%40integration-test%2Froot%40workspace%3A."
dependencies:
"@apollo/client-react-streaming": "npm:0.11.2"
"@apollo/client-react-streaming": "npm:0.11.3"
peerDependencies:
"@apollo/client": ^3.10.4
next: ^13.4.1 || ^14.0.0 || 15.0.0-rc.0
Expand Down

0 comments on commit dd8e3a2

Please sign in to comment.