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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1 - run: yarn && yarn build && bun lint
- run: bun && bun build && bun lint
- uses: FirebaseExtended/action-hosting-deploy@v0 - uses: FirebaseExtended/action-hosting-deploy@v0
with: with:
repoToken: '${{ secrets.GITHUB_TOKEN }}' repoToken: '${{ secrets.GITHUB_TOKEN }}'

View File

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

View File

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