fix actions

This commit is contained in:
Viktor Rådberg
2023-09-17 19:15:27 +02:00
parent 46847d5f65
commit 060f64ec0e
3 changed files with 5 additions and 10 deletions

View File

@@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun && bun build && bun lint
- run: yarn && yarn build && bun lint
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'

View File

@@ -22,14 +22,11 @@ jobs:
with:
node-version: 18
- name: Set up bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
run: yarn install
- name: Run lint
run: bun lint
run: yarn lint
- name: Build project
run: bun build
run: yarn build

View File

@@ -5,8 +5,7 @@
"type": "commonjs",
"engines": {
"node": ">=18",
"yarn": "please use bun :)",
"npm": "please use bun :) "
"npm": "please use bun or yarn :) "
},
"scripts": {
"dev": "vite",