File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 name : Publish Canary
1212 if : github.event.workflow_run.event == 'pull_request'
13+ environment : canary-pr-npm
1314 steps :
1415 - name : Checkout repo
1516 uses : actions/checkout@v2
7576 - name : Publish NPM package
7677 run : npm publish --ignore-scripts ./npmDist
7778 env :
78- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
79+ NODE_AUTH_TOKEN : ${{ secrets.NPM_CANARY_PR_PUBLISH_TOKEN }}
7980
8081 - name : Add comment on PR
8182 uses : actions/github-script@v5
Original file line number Diff line number Diff line change 77 name : Deploy to `npm` branch
88 needs : ci
99 if : github.ref == 'refs/heads/main'
10+ environment :
11+ name : npm-branch
12+ url : https://github.com/graphql/graphql-js/tree/npm
1013 uses : ./.github/workflows/deploy-artifact-as-branch.yml
1114 with :
1215 artifact_name : npmDist
1720 name : Deploy to `deno` branch
1821 needs : ci
1922 if : github.ref == 'refs/heads/main'
23+ environment :
24+ name : deno-branch
25+ url : https://github.com/graphql/graphql-js/tree/deno
2026 uses : ./.github/workflows/deploy-artifact-as-branch.yml
2127 with :
2228 artifact_name : denoDist
You can’t perform that action at this time.
0 commit comments