feat: added google configurations #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
env: | |
NODE_ENV: test | |
APP_KEY: ${{ secrets.APP_KEY }} | |
APP_NAME: ${{ secrets.APP_NAME }} | |
APP_URL: ${{ secrets.APP_URL }} | |
DB_HOST: ${{ secrets.DB_HOST }} | |
DB_NAME: ${{ secrets.DB_NAME }} | |
DB_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
DB_PORT: ${{ secrets.DB_PORT }} | |
DB_USERNAME: ${{ secrets.DB_USERNAME }} | |
jobs: | |
test: | |
name: CI checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.0.0 | |
- name: Use node 12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org | |
- name: Installing.. | |
run: npm install | |
- name: Running lint.. | |
run: npm run lint | |
- name: Running testing.. | |
run: npm run test | |
- name: Building... | |
run: npm run build |