Skip to content

Bump rollup

Bump rollup #38

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