Skip to content

Commit

Permalink
Merge pull request #60 from kimyvgy/chore
Browse files Browse the repository at this point in the history
chore(ci): switch nodejs to bun
  • Loading branch information
kimyvgy authored Sep 18, 2024
2 parents 6ef3d83 + 3243365 commit 8f58287
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,18 @@ on:
branches:
- master
pull_request:
branches:
branches:
- master

jobs:
ci-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: ⎔ Cache node_modules
uses: actions/cache@v4
env:
cache-name: node_modules-20x
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: 📥 Download deps
run: yarn install --frozen-lockfile
- name: ⎔ Build package
run: yarn build
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.27
- name: 📥 Download deps
run: bun install
- name: ⎔ Build package
run: bun run build
Binary file added bun.lockb
Binary file not shown.

0 comments on commit 8f58287

Please sign in to comment.