File tree 2 files changed +31
-2
lines changed
2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 40
40
with :
41
41
token : ${{secrets.SCALEWAY_BOT_TOKEN}}
42
42
formula : scw
43
+
44
+ wasm :
45
+ runs-on : ubuntu-latest
46
+ needs :
47
+ - goreleaser
48
+ steps :
49
+ - name : Install Go
50
+ uses : actions/setup-go@v3
51
+ with :
52
+ go-version : ' 1.21'
53
+ - name : Install pnpm
54
+ uses : pnpm/action-setup@v2
55
+ with :
56
+ version : 6.0.2
57
+ - name : Checkout
58
+ uses : actions/checkout@v3
59
+ with :
60
+ fetch-depth : 1
61
+ - name : Build
62
+ run : VERSION=${{ github.ref_name }} ./scripts/build-wasm.sh
63
+ - name : Configure package version
64
+ working-directory : wasm
65
+ run : pnpm version ${{ github.ref_name }}
66
+ - run : pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
67
+ env :
68
+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
69
+ - name : Publish package
70
+ working-directory : wasm
71
+ run : pnpm publish --no-git-checks
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @scaleway/scaleway-cli-wasm" ,
3
3
"version" : " 0.0.16" ,
4
- "description" : " " ,
4
+ "description" : " WASM interface for Scaleway CLI, made to be used in a JS environment " ,
5
5
"type" : " module" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
10
10
},
11
11
"types" : " index.d.ts" ,
12
12
"keywords" : [],
13
- "author" : " " ,
13
+ "author" : " Scaleway " ,
14
14
"devDependencies" : {
15
15
"@vitest/browser" : " ^0.34.4" ,
16
16
"prettier" : " 3.0.3" ,
You can’t perform that action at this time.
0 commit comments