File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 4040 with :
4141 token : ${{secrets.SCALEWAY_BOT_TOKEN}}
4242 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 11{
22 "name" : " @scaleway/scaleway-cli-wasm" ,
33 "version" : " 0.0.16" ,
4- "description" : " " ,
4+ "description" : " WASM interface for Scaleway CLI, made to be used in a JS environment " ,
55 "type" : " module" ,
66 "main" : " index.js" ,
77 "scripts" : {
1010 },
1111 "types" : " index.d.ts" ,
1212 "keywords" : [],
13- "author" : " " ,
13+ "author" : " Scaleway " ,
1414 "devDependencies" : {
1515 "@vitest/browser" : " ^0.34.4" ,
1616 "prettier" : " 3.0.3" ,
You can’t perform that action at this time.
0 commit comments