Skip to content

Commit 1ca9e3d

Browse files
update package.json and github action
1 parent b61d04a commit 1ca9e3d

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

.github/workflows/upgrade.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,9 @@ jobs:
2020
- name: List installed Java versions
2121
run: /usr/libexec/java_home -V
2222

23-
- name: Set Java 17
24-
run: |
25-
export JAVA_HOME=$(/usr/libexec/java_home -v 17)
26-
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
27-
java -version
28-
2923
- name: Verify Java version
3024
run: java -version
3125

32-
#- name: Build Android
33-
#working-directory: plugin/android
34-
#run: ./gradlew clean build
35-
3626
- name: Run Capacitor Plugin Migration
3727
working-directory: plugin
38-
run: npx @capacitor/plugin-migration-v6-to-v7@latest
39-
40-
- name: Install PNPM dependencies
41-
run: pnpm install --no-frozen-lockfile
42-
working-directory: .
43-
44-
- name: Build project
45-
run: pnpm run build
46-
working-directory: .
47-
48-
- name: Plugin build
49-
working-directory: plugin
50-
run: pnpm run build
51-
52-
- name: Build Android
53-
working-directory: plugin/android
54-
run: ./gradlew clean build
28+
run: npx @capacitor/plugin-migration-v6-to-v7@latest

plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@capacitor/docgen": "^0.3.0",
5757
"@capacitor/ios": "^6.0.0",
5858
"@ionic/swiftlint-config": "^2.0.0",
59-
"@types/node": "20.11.30",
59+
"@types/node": "~20.12.4",
6060
"@typescript-eslint/eslint-plugin": "^5.59.2",
6161
"@typescript-eslint/parser": "^5.59.2",
6262
"eslint": "^8.57.0",

plugin/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"allowUnreachableCode": false,
4-
"skipLibCheck": true,
54
"declaration": true,
65
"esModuleInterop": true,
76
"inlineSources": true,

0 commit comments

Comments
 (0)