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
|
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 }}'
|
||||||
|
|||||||
9
.github/workflows/lint_and_build.yml
vendored
9
.github/workflows/lint_and_build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user