Feature/pic js #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review, unlabeled] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dfx | |
uses: dfinity/setup-dfx@main | |
- name: Install mops | |
uses: ZenVoich/setup-mops@v1 | |
- name: generate declarations | |
run: dfx generate backend | |
- name: install dependencies | |
run: npm i | |
- name: run tests | |
run: npm run test-ci |