diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 11:59:18 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 11:59:18 +0900 |
commit | 56d8e50d99fb71492d34c4fd99a3ee5383ddec81 (patch) | |
tree | c48d1c4887280aea25b3159bcc18f76540e59bde | |
parent | d13c435e96096f6a1f7ab315525613f61a7c20fc (diff) |
Move manifest.json schema validator from create-prerelease-on-tag to ci.yml, and make it check for mv3
-rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
-rw-r--r-- | .github/workflows/create-prerelease-on-tag.yml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b7fc69c..c62c9893 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,5 +46,11 @@ jobs: env: CI: true + - name: Validate manifest.json of the extension + uses: cardinalby/schema-validator-action@c2da05377e89dd0c9b7be9420da0b3534b1efcce # pin@v1 + with: + file: ext/manifest.json + schema: "https://json.schemastore.org/chrome-manifest.json" + - name: Build run: npm run test-build diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml index e46f85f4..2db723fb 100644 --- a/.github/workflows/create-prerelease-on-tag.yml +++ b/.github/workflows/create-prerelease-on-tag.yml @@ -14,12 +14,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Validate manifest.json of the extension - uses: cardinalby/schema-validator-action@c2da05377e89dd0c9b7be9420da0b3534b1efcce # pin@v1 - with: - file: ext/manifest.json - schema: "https://json.schemastore.org/webextension.json" - - name: Setup node uses: actions/setup-node@v3 with: |