refactor: switch test and publish to bun

This commit is contained in:
Akshay Nair
2023-09-17 14:30:08 +05:30
parent 34a9db73e4
commit f97bf992c4
13 changed files with 34 additions and 4048 deletions
+5 -12
View File
@@ -1,5 +1,5 @@
name: Checks
on: [pull_request]
on: [pull_request, workflow_dispatch]
jobs:
validation:
@@ -9,15 +9,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Setup node v16
uses: actions/setup-node@v1
- uses: oven-sh/setup-bun@v1
with:
node-version: '16'
- name: Install dependencies
uses: borales/actions-yarn@v2.0.0
with:
cmd: install --ignore-engines --frozen-lockfile
- name: Run tests
uses: borales/actions-yarn@v2.0.0
with:
cmd: test
bun-version: 1.0.0
- run: bun install
- run: bun test
+1
View File
@@ -22,6 +22,7 @@ jobs:
- name: Publishing records
env:
CI: 1
NODE_ENV: production
ENV: production
DOMAIN_USER: ${{ secrets.DOMAIN_USER }}
DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }}