File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,21 @@ jobs:
25
25
registry-url : ' https://registry.npmjs.org' # to create .npmrc file with NODE_AUTH_TOKEN
26
26
node-version : 22
27
27
- name : Install Dependencies
28
- run : yarn install
28
+ run : npm ci
29
29
- name : Create Release Pull Request or Publish to npm
30
30
id : changesets
31
31
uses : changesets/action@v1
32
32
with :
33
- publish : yarn run release
33
+ publish : npm run release
34
34
env :
35
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
36
NPM_TOKEN : ${{ secrets.SHARED_BOT_NPM_TOKEN }}
37
37
NODE_AUTH_TOKEN : ${{ secrets.SHARED_BOT_NPM_TOKEN }}
38
38
- name : Publish next snapshot
39
39
if : steps.changesets.outputs.published != 'true'
40
40
run : |
41
- yarn changeset version --snapshot next
42
- yarn changeset publish --no-git-tag --snapshot --tag next
41
+ npm exec -- changeset version --snapshot next
42
+ npm exec -- changeset publish --no-git-tag --snapshot --tag next
43
43
env :
44
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
45
NPM_TOKEN : ${{ secrets.SHARED_BOT_NPM_TOKEN }}
Original file line number Diff line number Diff line change 17
17
with :
18
18
node-version : ${{ matrix.node_version }}
19
19
- name : Install
20
- run : yarn install
20
+ run : npm ci
21
21
- name : Test
22
- run : yarn test
22
+ run : npm test
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
20
20
echo "REPO_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')" >> $GITHUB_ENV
21
21
echo "CURRENT_VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV
22
22
- name : Install
23
- run : yarn install
23
+ run : npm ci
24
24
- name : Build
25
25
run : |
26
- yarn install
26
+ npm ci
27
27
npm run website -- --metadataVersion="${CURRENT_VERSION}"
28
28
env :
29
29
OWNER_NAME : ${{ env.OWNER_NAME }}
Original file line number Diff line number Diff line change 27
27
"scripts" : {
28
28
"docs:toc" : " markdown-toc -i README.md" ,
29
29
"release" : " changeset publish" ,
30
- "test" : " mocha test/ && (cd example && yarn install && npm test)"
30
+ "test" : " mocha test/ && (cd example && npm ci && npm test)"
31
31
},
32
32
"dependencies" : {
33
33
"@textlint-rule/textlint-rule-no-invalid-control-character" : " ^3.0.0" ,
You can’t perform that action at this time.
0 commit comments