File tree Expand file tree Collapse file tree 12 files changed +30
-20
lines changed Expand file tree Collapse file tree 12 files changed +30
-20
lines changed Original file line number Diff line number Diff line change @@ -138,28 +138,38 @@ jobs:
138
138
with :
139
139
node-version : ' 24'
140
140
141
- - name : Setup Go
142
- uses : ./.github/actions/setup-go
143
- with :
144
- go-version : ${{ env.GO_VERSION }}
145
- cache-name : linux-x86
146
-
147
141
- name : Install pnpm
148
142
run : corepack enable
149
143
150
144
- name : Install dependencies
151
145
run : pnpm install --frozen-lockfile
152
146
153
- - name : Format code
154
- run : pnpm format:check
147
+ - name : Download Artifact
148
+
149
+ with :
150
+ path : binaries
151
+
152
+ - name : Move binaries
153
+ run : |
154
+ find ./binaries
155
+ for file in binaries/*/*-rslint; do
156
+ echo "Processing $file"
157
+ filename=$(basename "$file")
158
+ dirname="${filename%-rslint}"
159
+ target_dir="npm/$dirname"
160
+ mkdir -p "$target_dir"
161
+ echo "Copy $file to $target_dir/rslint"
162
+ cp "$file" "npm/$dirname/rslint"
163
+ done
164
+ find ./npm
155
165
156
166
- name : Publish npm packages
157
167
if : env.release_npm == 'true'
158
168
env :
159
169
NPM_TOKEN : ${{ secrets.RSLINT_NPM_TOKEN }}
160
170
run : |
161
171
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
162
- pnpm -r publish --tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
172
+ pnpm -r publish --no-git-checks -- tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
163
173
164
174
- name : Build and publish to Microsoft VS Code Marketplace
165
175
if : false
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/darwin-arm64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"homepage" : " https://rslint.rs" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/darwin-x64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"bugs" : " https://github.com/web-infra-dev/rslint/issues" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/linux-arm64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"bugs" : " https://github.com/web-infra-dev/rslint/issues" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/linux-x64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"bugs" : " https://github.com/web-infra-dev/rslint/issues" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/win32-arm64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"bugs" : " https://github.com/web-infra-dev/rslint/issues" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/win32-x64" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " binary for rslint" ,
6
6
"bugs" : " https://github.com/web-infra-dev/rslint/issues" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rslint-monorepo" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"private" : true ,
5
5
"description" : " Rslint Monorepo" ,
6
6
"homepage" : " https://github.com/web-infra-dev/rslint#readme" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/test-tools" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"type" : " module" ,
5
5
"main" : " src/index.ts" ,
6
6
"private" : true ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rslint/core" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"exports" : {
5
5
"." : " ./dist/index.js" ,
6
6
"./bin" : " ./bin/rslint.cjs" ,
You can’t perform that action at this time.
0 commit comments