Skip to content

Update README.md

Update README.md #142

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and lint
run: |
npm ci
npm run lint
env:
CI: true
- name: npm install and test
run: |
npm ci
npm run test
env:
CI: true
deploy:
needs: build
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
name: Deploy app
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only