aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/nodejs.yml
blob: a2db377c68ee71b1681c1c485764840689da4bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Node CI

on: [push, pull_request]
jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v1
    - name: Setup Node
      uses: actions/setup-node@v1
    - name: Install Dependencies
      run: npm install
    - name: Test
      run: npm run test
    - name: Build
      run: npm run build
    - name: Deploy 🚀
      uses: JamesIves/github-pages-deploy-action@4.0.0
      with:
        branch: gh-pages # The branch the action should deploy to.
        folder: webAO # The folder the action should deploy.