File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 steps :
1010 - name : ' Checkout code'
1111 uses : ' actions/checkout@v6'
12- - name : ' Install Node.js '
13- uses : ' actions /setup-node@v6 '
12+ - name : ' Install Bun '
13+ uses : ' oven-sh /setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 '
1414 with :
15- node -version : ' 22.x '
16- - name : ' Install NPM packages'
17- run : ' npm ci '
15+ bun -version : ' latest '
16+ - name : ' Install Bun packages'
17+ run : ' bun install --frozen-lockfile '
1818 - name : ' Build project'
1919 env :
2020 BASE_PATH : ' /${{ github.event.repository.name }}'
21- run : ' npm run build'
21+ run : ' bun run build'
2222 - name : ' Upload artifacts'
2323 uses : ' actions/upload-pages-artifact@v5'
2424 with :
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ jobs:
1111 steps :
1212 - name : ' Checkout code'
1313 uses : ' actions/checkout@v6'
14- - name : ' Install Node.js '
15- uses : ' actions /setup-node@v6 '
14+ - name : ' Install Bun '
15+ uses : ' oven-sh /setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 '
1616 with :
17- node -version : ' 22.x '
17+ bun -version : ' latest '
1818 - name : ' Install NPM packages'
19- run : ' npm ci '
19+ run : ' bun install --frozen-lockfile '
2020 - name : ' Run tests'
21- run : ' npm run test'
21+ run : ' bun run test'
2222 # TODO: remove it when the test code actually works.
2323 continue-on-error : true
2424 - name : ' Run ESLint'
25- run : ' npm run lint'
25+ run : ' bun run lint'
2626 - name : ' Run svelte-check'
27- run : ' npm run check'
27+ run : ' bun run check'
You can’t perform that action at this time.
0 commit comments