refactor(workflow): switches publish workflow to use bun

This commit is contained in:
Akshay Nair
2023-09-17 14:34:10 +05:30
parent f97bf992c4
commit 3c6fb2f0e0
3 changed files with 7 additions and 12 deletions
+5 -9
View File
@@ -12,13 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: borales/actions-yarn@v2.0.0
- uses: oven-sh/setup-bun@v1
with:
cmd: install --ignore-engines
- name: Running tests
uses: borales/actions-yarn@v2.0.0
with:
cmd: test
bun-version: 1.0.0
- run: bun install
- run: bun test
- name: Publishing records
env:
CI: 1
@@ -30,6 +28,4 @@ jobs:
DOMAIN_API_PORT: ${{ secrets.DOMAIN_API_PORT }}
DOMAIN_DOMAIN: ${{ secrets.DOMAIN_DOMAIN }}
DOMAIN_HOST_IP: ${{ secrets.DOMAIN_HOST_IP }}
uses: borales/actions-yarn@v2.0.0
with:
cmd: publish-records
run: bun run publish-records