Skip to content

Commit

Permalink
Merge branch 'master' into rdb_acl_set_simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
Mia-Cross authored Mar 21, 2024
2 parents f5919ff + 3c19944 commit 3e50a39
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,31 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

homebrew:
wasm:
runs-on: ubuntu-latest
needs:
- goreleaser
runs-on: ubuntu-latest
steps:
- name: Bump scw Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
token: ${{secrets.SCALEWAY_BOT_TOKEN}}
formula: scw
version: 6.0.2
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Build
run: VERSION=${{ github.ref_name }} ./scripts/build-wasm.sh
- name: Configure package version
working-directory: wasm
run: pnpm version ${{ github.ref_name }}
- run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish package
working-directory: wasm
run: pnpm publish --no-git-checks
4 changes: 2 additions & 2 deletions wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@scaleway/scaleway-cli-wasm",
"version": "0.0.16",
"description": "",
"description": "WASM interface for Scaleway CLI, made to be used in a JS environment",
"type": "module",
"main": "index.js",
"scripts": {
Expand All @@ -10,7 +10,7 @@
},
"types": "index.d.ts",
"keywords": [],
"author": "",
"author": "Scaleway",
"devDependencies": {
"@vitest/browser": "^0.34.4",
"prettier": "3.0.3",
Expand Down

0 comments on commit 3e50a39

Please sign in to comment.