fix(deps): update all dependencies (major) #47
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: "CI" | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
npm ci | |
npm run all | |
test: # make sure the action works on a clean machine without building | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' # See 'Supported distributions' for available options | |
java-version: 8 | |
- name: Use coturiv/setup-ionic | |
uses: ./ | |
- name: Run cordova project tests | |
run: | | |
ionic start testapp blank --cordova --type angular --no-link --no-git --no-interactive --confirm | |
cd testapp | |
ionic cordova platform add android@latest | |
ionic cordova build android |