File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ - next
7
8
8
9
permissions : {}
9
10
jobs :
10
11
release :
11
12
# prevents this action from running on forks
12
13
if : github.repository == 'techniq/odata-query'
14
+
13
15
permissions :
14
16
contents : write # to create release (changesets/action)
15
17
pull-requests : write # to create pull request (changesets/action)
@@ -21,21 +23,22 @@ jobs:
21
23
with :
22
24
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
23
25
fetch-depth : 0
24
-
26
+ - uses : pnpm/action-setup@v4.0.0
25
27
- name : Setup Node.js
26
28
uses : actions/setup-node@v4
27
29
with :
28
30
node-version : 20.x
31
+ cache : pnpm
29
32
30
- - run : npm ci
33
+ - run : pnpm install --frozen-lockfile
31
34
32
35
- name : Create Release Pull Request or Publish to npm
33
36
id : changesets
34
37
uses : changesets/action@v1
35
38
with :
36
39
# This expects you to have a script called release which does a build for your packages and calls changeset publish
37
- publish : npm run changeset:release
38
- version : npm run changeset:version
40
+ publish : pnpm changeset:release
41
+ version : pnpm changeset:version
39
42
env :
40
43
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
44
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments