diff --git a/.gcloudignore b/.gcloudignore new file mode 100644 index 0000000..009745a --- /dev/null +++ b/.gcloudignore @@ -0,0 +1,4 @@ +.gcloudignore +.git +.gitignore +node_modules/ diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cf09bea..84c7fd9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..22b0dd3 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..7fde67a --- /dev/null +++ b/app.yaml @@ -0,0 +1 @@ +runtime: nodejs14