Skip to content

Commit

Permalink
ci: upgrade Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Aug 12, 2024
1 parent c4d91b5 commit 05daacb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cargo build --release -p dprint_plugin_malva --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/release/dprint_plugin_malva.wasm dprint_plugin/deployment/plugin.wasm
- name: Publish dprint plugin
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
dprint_plugin/deployment/plugin.wasm
Expand All @@ -41,14 +41,9 @@ jobs:
$packageJson = Get-Content standalone_wasm/pkg/package.json | ConvertFrom-Json
$packageJson.name = "malva"
$packageJson | ConvertTo-Json | Set-Content standalone_wasm/pkg/package.json
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: latest
run_install: true
- name: Publish npm package
run: |
cp target/wasm32-unknown-unknown/release/dprint_plugin_malva.wasm dprint_plugin/deployment/npm/plugin.wasm
Expand Down

0 comments on commit 05daacb

Please sign in to comment.