Skip to content

Bump concurrently from 7.6.0 to 8.2.1 #284

Bump concurrently from 7.6.0 to 8.2.1

Bump concurrently from 7.6.0 to 8.2.1 #284

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
pull_request: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Lint
run: npm run lint
typecheck:
name: Type check
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Type check
run: npm run typecheck
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: [lint, typecheck]
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repo
uses: actions/checkout@v3
- name: Deploy to Fly
uses: superfly/[email protected]
with:
args: "deploy --remote-only"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}