Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbedard committed Jul 21, 2024
1 parent e161a01 commit 24d924f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@ jobs:
uses: actions/checkout@v4

- name: Test
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
run: cargo test

wasm:
name: WASM
Expand Down Expand Up @@ -59,3 +52,10 @@ jobs:

- name: TypeScript tests
run: pnpm test

- name: Release
run: |
cd ./pkg
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions scripts/build.js → scripts/build.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const fs = require('fs')
const path = require('path')
import { execSync } from 'child_process'
import fs from 'fs'
import path from 'path'

function run() {
const file = path.resolve(__dirname, '../pkg/package.json')
Expand Down

0 comments on commit 24d924f

Please sign in to comment.