Skip to content

Merge pull request #85 from teamstarter/develop #148

Merge pull request #85 from teamstarter/develop

Merge pull request #85 from teamstarter/develop #148

Workflow file for this run

name: Server tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.14.0]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn, build, test
run: |
yarn
yarn build
yarn test
env:
DEBUG: -*
NODE_ENV: test