diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index e64be616..31493559 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -17,16 +17,11 @@ jobs: - name: "☁️ checkout repository" uses: actions/checkout@v2 - - name: "🔧 setup node" - uses: actions/setup-node@v2.1.5 - with: - node-version: 18 - - - name: "🔧 install npm@latest" - run: npm i -g npm@latest + - name: "🔧 setup Bun" + uses: oven-sh/setup-bun@v1 - name: "📦 install dependencies" - uses: bahmutov/npm-install@v1 + run: bun install - name: "📦 run build" - run: npm run build + run: bun run build diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 63caa3b2..9aa15ecb 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -10,15 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 + - name: "🔧 setup Bun" + uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: npm ci + run: bun install - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: bun x playwright install --with-deps - name: Run Playwright tests - run: npx playwright test + run: bun x playwright test - uses: actions/upload-artifact@v3 if: always() with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae7fdba4..56285011 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,19 +31,14 @@ jobs: - name: "☁️ checkout repository" uses: actions/checkout@v3 - - name: "🔧 setup node" - uses: actions/setup-node@v3 - with: - node-version: 18.x - - - name: "🔧 install npm@latest" - run: npm i -g npm@latest + - name: "🔧 setup Bun" + uses: oven-sh/setup-bun@v1 - name: "📦 install dependencies" - uses: bahmutov/npm-install@v1 + run: bun install - name: "🚀 static app" - run: npm run build + run: bun run build - name: "📂 production artifacts" uses: actions/upload-artifact@v2