build(deps): npm audit fix (#866) #1609
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: Smoke test on Windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
HUSKY: 0 | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: "temurin" | |
java-version: 11 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Environment Information | |
run: | | |
node --version | |
npm --version | |
java -version | |
- name: Setup Android Build Tools | |
shell: cmd | |
run: | | |
"%ANDROID_HOME%\cmdline-tools\latest\bin\sdkmanager" "build-tools;30.0.3" | |
- name: Setup Project | |
run: | | |
npm i -g cordova | |
cordova create lottie-smoke-test | |
cd lottie-smoke-test | |
cordova platform add android@10 | |
- name: Install Plugins | |
run: | | |
cd lottie-smoke-test | |
cordova plugin add $env:GITHUB_WORKSPACE --link | |
- name: Build Project | |
run: | | |
cd lottie-smoke-test | |
cordova build android |