Switch to yarn
This commit is contained in:
parent
fe284e1a6a
commit
5d4e5dfa08
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"projects": {
|
"projects": {
|
||||||
"default": "yude-moe"
|
"default": "yudemoe"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
21
.github/workflow/firebase.yml
vendored
Normal file
21
.github/workflow/firebase.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Deploy to Firebase Hosting
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
FrontDeploy:
|
||||||
|
name: FrontDeploy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@master
|
||||||
|
- name: setup Node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 10.x
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: deploy to Firebase Hosting
|
||||||
|
run: |
|
||||||
|
npm run deploy --token=${{ secrets.FIREBASE_TOKEN }}
|
4553
package-lock.json
generated
4553
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8
package.json
Normal file
8
package.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"firebase-tools": "^8.10.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"deploy": "firebase deploy --only hosting:yudemoe"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user