Skip to content

Commit 40c415f

Browse files
authored
Create blank.yml
1 parent f32d446 commit 40c415f

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/blank.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Testx
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [10.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: install Yarn and FIrebase
23+
run: |
24+
npm install -g yarn
25+
- name: Lint
26+
run: |
27+
yarn install
28+
yarn lint
29+
- name: Build
30+
run: |
31+
yarn install
32+
yarn build
33+
env:
34+
APIKEY: ${{ secrets.APIKEY }}
35+
AUTHDOMAIN: ${{ secrets.AUTHDOMAIN }}
36+
DATABASEURL: ${{ secrets.DATABASEURL }}
37+
PROJECTID: ${{ secrets.PROJECTID }}
38+
STORAGEBUCKET: ${{ secrets.STORAGEBUCKET }}
39+
MESSAGINGSENDERID: ${{ secrets.MESSAGINGSENDERID }}
40+
APPID: ${{ secrets.APPID }}
41+
MEASUREMENTID: ${{ secrets.MEASUREMENTID }}
42+
- name: Copy
43+
run: |
44+
mkdir -p dist/client
45+
cp -RT src/static dist/client
46+
cp -RT .nuxt/dist/ dist/client/assets
47+
mkdir -p dist/server
48+
cp -RT functions/ dist/server
49+
cp -R .nuxt/ dist/server/
50+
- name: install
51+
run: |
52+
cd dist/server
53+
npm install
54+
cd ../../

0 commit comments

Comments
 (0)