File tree Expand file tree Collapse file tree
packages/presets/near-operation-file Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 release-snapshot :
13+ runs-on : ubuntu-24.04
1314 if : github.event_name == 'pull_request'
14- uses : the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
15+ permissions :
16+ id-token : write # allows ODIC publishing
17+ steps :
18+ - name : Check out repository
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 24
25+ cache : yarn
26+ cache-dependency-path : ' **/yarn.lock'
27+
28+ - name : Install deps
29+ run : yarn install --prefer-offline --frozen-lockfile
30+
31+ - name : Deploy snapshot
32+ run : |
33+ yarn changeset version --snapshot $RELEASE_TAG
34+ yarn build
35+ yarn changeset publish --tag alpha --no-git-tag
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ RELEASE_TAG : test-run${{ github.run_number }}-${{ github.run_attempt }}
39+
40+ # - name: Release Snapshot
41+ # uses: 'the-guild-org/changesets-snapshot-action@v0.0.3'
42+ # with:
43+ # tag: alpha
44+ # prepareScript: 'yarn build'
45+ # env:
46+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub Token
47+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # NPM Token
48+
49+ # uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
1550 # permissions:
1651 # id-token: write # allows ODIC publishing
17- with :
18- npmTag : alpha
19- buildScript : build
20- nodeVersion : 24
21- secrets :
22- githubToken : ${{ secrets.GITHUB_TOKEN }}
23- npmToken : ${{ secrets.NPM_TOKEN }}
52+ # with:
53+ # npmTag: alpha
54+ # buildScript: build
55+ # nodeVersion: 24
56+ # secrets:
57+ # githubToken: ${{ secrets.GITHUB_TOKEN }}
58+ # npmToken: ${{ secrets.NPM_TOKEN }} # FIXME: eddeee888 Required because the workflows requires it
2459
2560 release-stable :
2661 if : github.event_name == 'push'
Original file line number Diff line number Diff line change 55 "description" : " GraphQL Code Generator preset for generating operation code near the operation file" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/dotansimha/graphql-code-generator-community.git" ,
8+ "url" : " git+ https://github.com/dotansimha/graphql-code-generator-community.git" ,
99 "directory" : " packages/presets/near-operation-file"
1010 },
1111 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments