Precise DOM morphing
morphing typescript dom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use bun on CI (#30)

* Use bun on CI

* Update package.json

authored by

Joel Drapper and committed by
GitHub
4abe3a33 baf184df

+16 -20
+6 -9
.github/workflows/tests.yml
··· 10 10 steps: 11 11 - uses: actions/checkout@v3 12 12 13 - - name: Setup Node 14 - uses: actions/setup-node@v4 15 - with: 16 - node-version-file: ".node-version" 17 - cache: "npm" 13 + - name: Setup Bun 14 + uses: oven-sh/setup-bun@v1 18 15 19 16 - name: Install dependencies 20 - run: npm install 17 + run: bun install 21 18 22 19 - name: Build 23 - run: npm run build 20 + run: bun run build 24 21 25 22 - name: Lint 26 - run: npm run lint 23 + run: bun run lint 27 24 28 25 - name: Run Tests 29 - run: npm run test || npm run test 26 + run: bun run test || bun run test
+10 -11
package.json
··· 16 16 "url": "https://github.com/sponsors/joeldrapper" 17 17 }, 18 18 "scripts": { 19 - "test": "web-test-runner test/**/*.test.js --node-resolve", 20 - "t": "web-test-runner --node-resolve", 21 - "build": "npx tsc && prettier --write ./src ./dist", 22 - "watch": "npx tsc -w", 23 - "test:watch": "npm run test -- --watch", 24 - "lint": "prettier --check ./src ./dist ./test", 25 - "minify": "terser dist/morphlex.js -o dist/morphlex.min.js --config-file terser-config.json", 26 - "prepare": "npm run build && npm run minify", 27 - "ship": "npm run prepare && npm run test && npm run lint && npm publish", 28 - "format": "prettier --write ./src ./dist ./test", 29 - "size": "npm run prepare && gzip-size ./dist/morphlex.min.js --raw --include-original" 19 + "test": "bun run web-test-runner test/**/*.test.js --node-resolve", 20 + "build": "bun run tsc && bun run prettier --write ./src ./dist", 21 + "watch": "bun run tsc -w", 22 + "test:watch": "bun run test -- --watch", 23 + "lint": "bun run prettier --check ./src ./dist ./test", 24 + "minify": "bun run terser dist/morphlex.js -o dist/morphlex.min.js --config-file terser-config.json", 25 + "prepare": "bun run build && bun run minify", 26 + "ship": "bun run prepare && bun run test && bun run lint && bun run publish", 27 + "format": "bun run prettier --write ./src ./dist ./test", 28 + "size": "bun run prepare && bun run gzip-size ./dist/morphlex.min.js --raw --include-original" 30 29 }, 31 30 "devDependencies": { 32 31 "@open-wc/testing": "^3.0.0-next.5",