Skip to content

Merge pull request #24 from Taldrain/dependabot/npm_and_yarn/vite-4.5.3 #29

Merge pull request #24 from Taldrain/dependabot/npm_and_yarn/vite-4.5.3

Merge pull request #24 from Taldrain/dependabot/npm_and_yarn/vite-4.5.3 #29

Workflow file for this run

name: workflow
on: [push]
jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: bahmutov/npm-install@v1
- run: npm run typecheck
unitary-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: bahmutov/npm-install@v1
- run: npm run test
deploy:
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
environment: production
needs: [typecheck, unitary-tests]
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}