chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /plugin #42
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: "Build and Test" | |
on: [push, pull_request] | |
jobs: | |
js-test: | |
name: "JS Tests" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./plugin | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x, 14.x, 15.x] | |
steps: | |
- name: "Checkout Branch" | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: "NPM Build" | |
run: npm ci; npm run build --if-present | |
- name: "NPM Test" | |
run: npm test | |
android-test: | |
name: "Android Unit Tests" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./plugin | |
steps: | |
- name: "Checkout Branch" | |
uses: actions/checkout@v2 | |
- name: "Install JDK 11" | |
uses: actions/setup-java@v2 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: "Install NPM" | |
uses: actions/setup-node@v1 | |
- name: "NPM Build" | |
run: | | |
npm ci | |
npm run build --if-present | |
- name: "Run Unit Tests" | |
run: ./gradlew test |