Testing GCP

This commit is contained in:
Panayiotis Lipiridis 2021-01-18 23:05:44 +02:00
parent c6b867d888
commit eb2497ffde
4 changed files with 32 additions and 7 deletions

4
.gcloudignore Normal file
View File

@ -0,0 +1,4 @@
.gcloudignore
.git
.gitignore
node_modules/

View File

@ -2,9 +2,6 @@ name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
@ -18,7 +15,8 @@ jobs:
with:
node-version: 12.x
- name: Install and lint
run: |
yarn
yarn lint
- name: Install dependencies
run: yarn
- name: Lint
run: yarn lint

22
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: yarn
- name: Test
run: yarn test

1
app.yaml Normal file
View File

@ -0,0 +1 @@
runtime: nodejs14