Skip to content

Commit

Permalink
chore: fix build issues
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/@interactjs/symbol-tree/lib/SymbolTree.ts
  • Loading branch information
taye authored and CI committed Mar 28, 2024
1 parent 17cac1e commit c04160b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
Expand Down
4 changes: 2 additions & 2 deletions scripts/bin/release.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const fs = require('fs').promises
const path = require('path')

const del = require('del')
const shell = require('shelljs')

const { getPackages, isPro, registryUrl, errorExit } = require('../utils')
Expand Down Expand Up @@ -141,7 +140,8 @@ async function pushAndPublish() {
pkg.gitHead = gitHead
})

if (isPro) await del('packages/**/*.map')
const { deleteAsync } = await import('del')
if (isPro) await deleteAsync('packages/**/*.map')

const npmPublishCommand = 'npm publish' + (NPM_TAG ? ` --tag ${NPM_TAG}` : '')
const packagesToPublish = isPro ? packages.filter((p) => /@interactjs\//.test(p)) : packages
Expand Down

0 comments on commit c04160b

Please sign in to comment.