Skip to content

feat: Capacitor 6 upgrade #844

feat: Capacitor 6 upgrade

feat: Capacitor 6 upgrade #844

Workflow file for this run

name: CI
on:
push:
paths:
- 'plugin/**'
- '.github/workflows/ci.yml'
pull_request:
paths:
- 'plugin/**'
- '.github/workflows/ci.yml'
jobs:
setup:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@ce177499ccf9fd2aded3b0426c97e5434c2e8a73
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Latest
uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/checkout@v2
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- name: Get Package Version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
with:
path: core/
verify-plugin:
runs-on: ubuntu-latest
timeout-minutes: 30
needs:
- setup
steps:
- uses: actions/setup-node@v1
with:
node-version: 16.x
- uses: actions/checkout@v2
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- run: npm ci
working-directory: plugin
- run: npm run build
working-directory: plugin