Skip to content

[DEPS]: Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.6.0 #431

[DEPS]: Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.6.0

[DEPS]: Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.6.0 #431

Workflow file for this run

name: Testing and Deployment
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ hashFiles('package-lock.json') }}
- name: Installing
run: ./bin/install
- name: Static analysis
run: ./bin/npm run lint
- name: Type-Testing
run: ./bin/exec npx nuxi typecheck
deploy:
name: Deploy app
needs: lint
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ hashFiles('package-lock.json') }}
- name: Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Fly Deploy
run: flyctl deploy --remote-only --build-secret GOOGLE_MAPS_API_KEY="$GOOGLE_MAPS_API_KEY"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}