Skip to content

Bump @remix-run/react from 1.19.3 to 2.0.1 #288

Bump @remix-run/react from 1.19.3 to 2.0.1

Bump @remix-run/react from 1.19.3 to 2.0.1 #288

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 }}