build(deps): bump @google-cloud/firestore and firebase-admin #69
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: devradar.io - PR | |
on: [pull_request] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test-lint-eslint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc | |
name: add auth token for npm packages | |
- run: npm ci | |
- run: npm run lint | |
name: eslint/standard | |
test-lint-tsc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc | |
name: add auth token for npm packages | |
- run: npm ci | |
- run: npm run build | |
name: tsc build | |
test-e2e-volatile: | |
runs-on: ubuntu-20.04 | |
env: | |
VUE_APP_BACKEND_TYPE: 'testVolatile' | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_KEY }} | |
CYPRESS_RETRIES: 2 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc | |
name: add auth token for npm packages | |
- run: npm ci | |
- run: npm run build | |
- name: cypress tests w/ local storage | |
timeout-minutes: 20 | |
run: npm run test:e2e:run | |
test-e2e-firebase: | |
runs-on: ubuntu-20.04 | |
env: | |
VUE_APP_BACKEND_TYPE: 'firebase' | |
VUE_APP_BACKEND_PROJECT: ${{ secrets.FIREBASE_E2E_PROJECT }} | |
VUE_APP_BACKEND_KEY: ${{ secrets.FIREBASE_E2E_CLIENTKEY }} | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_KEY }} | |
CYPRESS_RETRIES: 2 | |
FIREBASE_SERVICEACCOUNT: ${{ secrets.FIREBASE_E2E_ACCOUNTKEY }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc | |
name: add auth token for npm packages | |
- run: npm ci | |
- run: npm run build | |
- name: cypress tests w/ firebase backend | |
timeout-minutes: 20 | |
run: npm run test:e2e:run |