Skip to content

Commit

Permalink
Merge branch 'release-4.1.0' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Jan 22, 2025
2 parents 8e81255 + 24257fe commit 9d5cef4
Show file tree
Hide file tree
Showing 36 changed files with 7,800 additions and 25,955 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: NPM build + test

on: [push]
on: [push, pull_request]

jobs:
build:
Expand All @@ -25,4 +25,6 @@ jobs:

- run: npm ci
- run: npm run build
# Disable AppArmor namespace behavior that breaks tests:
- run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- run: npm test
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- run: npm ci
- run: npm run prepublishOnly

- uses: JS-DevTools/npm-publish@v3
with:
Expand Down
3 changes: 0 additions & 3 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import svg from "esbuild-plugin-svg";
import fs from "fs";
import LessPluginCleanCSS from "less-plugin-clean-css";

const watch = process.argv[2] === "--watch";

const pkg = JSON.parse(fs.readFileSync("./package.json").toString());

// These are NPM packages that don't work with external bundlers without configuration.
Expand Down Expand Up @@ -44,7 +42,6 @@ async function main() {
target: "es2020",
format: "esm",
globalName: "UV",
watch,
minify: true,
external: [
...Object.keys(pkg.dependencies).filter(
Expand Down
Loading

0 comments on commit 9d5cef4

Please sign in to comment.