Skip to content

Merge pull request #21 from wmde/ores-to-liftwing #32

Merge pull request #21 from wmde/ores-to-liftwing

Merge pull request #21 from wmde/ores-to-liftwing #32

Workflow file for this run

name: Auto Deploy
on:
push:
branches: [main] # run on pushes to main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # setup the repository in the runner
- name: Setup Node.js # setup Node.js in the runner
uses: actions/setup-node@v1
with:
node-version: '12'
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- run: npm ci # install dependencies
- run: npm run test:unit # run the tests
- run: npm run build --if-present # build the project