chore: include deprecation notice and plan #339
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
# This workflow will do a clean install of node dependencies, 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: Unit Testing | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
pull_request: | |
branches: | |
- main | |
- beta | |
jobs: | |
lint-mookme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: lint | |
run: | | |
cd packages/mookme | |
npm install | |
npm run eslint | |
npm run prettier | |
lint-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: lint | |
run: | | |
cd packages/docs | |
npm install | |
npm run lint | |
test-mookme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: test | |
run: | | |
cd packages/mookme | |
npm install | |
./tests/test.sh |