Skip to content

Merge pull request #19 from MixPayProtocol/dependabot/npm_and_yarn/po… #163

Merge pull request #19 from MixPayProtocol/dependabot/npm_and_yarn/po…

Merge pull request #19 from MixPayProtocol/dependabot/npm_and_yarn/po… #163

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Run Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
run-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install dependency
run: npm install
- name: Copy .env
run: cp .env.example .env
- name: Building assets
run: npm run build
- name: Running test
run: node ace test
env:
CI: true