Skip to content

Commit

Permalink
even more bun fun?
Browse files Browse the repository at this point in the history
  • Loading branch information
netanel-haber committed Dec 23, 2023
1 parent e325d97 commit fc705f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,18 @@

name: Node.js CI
name: Bun CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- uses: oven-sh/setup-bun@v1
- run: bun i
- run: bun run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
7 changes: 2 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": [
"ESNext",
"DOM"
],
"moduleResolution": "Node",
"moduleResolution": "bundler",
"forceConsistentCasingInFileNames": true,
"strict": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down

0 comments on commit fc705f8

Please sign in to comment.