forked from external-repos/LifeTrinket
fix actions
This commit is contained in:
3
.github/workflows/firebase-hosting-mege.yml
vendored
3
.github/workflows/firebase-hosting-mege.yml
vendored
@@ -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 }}'
|
||||
|
||||
9
.github/workflows/lint_and_build.yml
vendored
9
.github/workflows/lint_and_build.yml
vendored
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user