Skip to content

Merge pull request #55 from SolidZORO/dependabot/npm_and_yarn/class-v… #54

Merge pull request #55 from SolidZORO/dependabot/npm_and_yarn/class-v…

Merge pull request #55 from SolidZORO/dependabot/npm_and_yarn/class-v… #54

Workflow file for this run

name: leaa-api
on:
push:
branches:
- master
- restful
- graphql
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [12.x, 14.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
version: ${{ matrix.node_version }}
- name: npm install, build and test
env:
PACKAGE_LOCATION: packages/leaa-api
run: |
pwd
ls -l
cd "$PACKAGE_LOCATION"
ls -l
mv .env.example .env
yarn install
yarn test:codecov
yarn codecov