mirror of
https://github.com/maputnik/editor.git
synced 2026-05-12 11:10:21 +00:00
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 7.1.10 to 7.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cypress-io/github-action/releases">cypress-io/github-action's releases</a>.</em></p> <blockquote> <h2>v7.3.0</h2> <h1><a href="https://github.com/cypress-io/github-action/compare/v7.2.0...v7.3.0">7.3.0</a> (2026-05-05)</h1> <h3>Features</h3> <ul> <li>add <code>expose</code> input for Cypress.expose() API (<a href="https://redirect.github.com/cypress-io/github-action/issues/1749">#1749</a>) (<a href="dace029018">dace029</a>)</li> </ul> <h2>v7.2.0</h2> <h1><a href="https://github.com/cypress-io/github-action/compare/v7.1.10...v7.2.0">7.2.0</a> (2026-05-04)</h1> <h3>Features</h3> <ul> <li><strong>deps:</strong> remove Node.js 20 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1747">#1747</a>) (<a href="b7a7441d77">b7a7441</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md">cypress-io/github-action's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>This document gives an overview of changes to the Cypress GitHub JavaScript Action <a href="https://github.com/cypress-io/github-action">cypress-io/github-action</a>.</p> <p>See <a href="https://github.com/cypress-io/github-action/releases">Releases</a> for full details of changes.</p> <table> <thead> <tr> <th>Version</th> <th>Changes</th> </tr> </thead> <tbody> <tr> <td>v7.3.0</td> <td>Add parameter <code>expose</code> for <a href="https://docs.cypress.io/api/cypress-api/expose"><code>Cypress.expose()</code></a> support</td> </tr> <tr> <td>v7.2.0</td> <td>Examples remove Node.js 20. End of support for Node.js 20.</td> </tr> <tr> <td>v7.1.0</td> <td>Add parameter <code>package-manager-cache</code></td> </tr> <tr> <td>v7.0.0</td> <td>Action runs under Node.js 24 instead of Node.js 20</td> </tr> <tr> <td>v6.10.0</td> <td>Examples remove Node.js 23. End of support for Node.js 23.</td> </tr> <tr> <td>v6.9.0</td> <td>Add parameter validation for <code>command</code></td> </tr> <tr> <td>v6.8.0</td> <td>Examples remove Node.js 18. End of support for Node.js 18.</td> </tr> <tr> <td>v6.7.10</td> <td>Examples updated to Cypress 14</td> </tr> <tr> <td>v6.7.9</td> <td>Migrate to <code>@actions/cache@4.0.0</code> for continued access to GitHub Actions caching services</td> </tr> <tr> <td>v6.7.0</td> <td>Examples remove Node.js 21. End of support for Node.js 21.</td> </tr> <tr> <td>v6.6.0</td> <td>Add parameter <code>summary-title</code></td> </tr> <tr> <td>v6.5.0</td> <td>Examples remove Node.js 16. End of support for Node.js 16.</td> </tr> <tr> <td>v6.4.0</td> <td>Action adds PR number and URL if available when recording</td> </tr> <tr> <td>v6.3.0</td> <td>v6 is recommended action version</td> </tr> <tr> <td>v6.2.0</td> <td>Examples updated to Cypress 13</td> </tr> <tr> <td>v6.1.0</td> <td>Examples for Cypress 9 archived in action's <a href="https://github.com/cypress-io/github-action/tree/v5">v5</a> branch</td> </tr> <tr> <td>v6.0.0</td> <td>Action runs under Node.js 20 instead of Node.js 16</td> </tr> <tr> <td>v5.8.1</td> <td>Examples remove Node.js 19. End of support for Node.js 19</td> </tr> <tr> <td>v5.8.0</td> <td>Add GitHub step output <code>resultsUrl</code>. Deprecate <code>dashboardUrl</code>.</td> </tr> <tr> <td>v5.7.0</td> <td>Add basic Yarn Modern Plug'n'Play support</td> </tr> <tr> <td>v5.6.2</td> <td>Examples add Node.js 20. End of support and removal of Node.js 14 examples.</td> </tr> <tr> <td>v5.6.0</td> <td>Add check for lockfile presence</td> </tr> <tr> <td>v5.5.0</td> <td>Examples add Yarn Modern</td> </tr> <tr> <td>v5.4.0</td> <td>Examples add Yarn Classic</td> </tr> <tr> <td>v5.3.0</td> <td>Add parameter <code>publish-summary</code> (default <code>true</code>)</td> </tr> <tr> <td>v5.2.0</td> <td>Examples add Node.js 19</td> </tr> <tr> <td>v5.1.0</td> <td>Add parameter <code>auto-cancel-after-failures</code></td> </tr> <tr> <td>v5.0.0</td> <td>Examples add Node.js 18 and remove Node.js 12</td> </tr> <tr> <td>v4.2.2</td> <td>Dependency on GitHub <code>set-output</code> workflow command removed</td> </tr> <tr> <td>v4.2.0</td> <td>Support for <code>pnpm</code> added</td> </tr> <tr> <td>v4.0.0</td> <td>Support for Cypress 10 and later versions added</td> </tr> <tr> <td>v3</td> <td>Action runs under Node.js 16 instead of Node.js 12</td> </tr> <tr> <td>v2</td> <td>Cypress runs using the <a href="https://on.cypress.io/module-api">Module API</a></td> </tr> <tr> <td>v1</td> <td><em>This version is no longer runnable in GitHub due to security changes.</em></td> </tr> </tbody> </table> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="dace029018"><code>dace029</code></a> feat: add <code>expose</code> input for Cypress.expose() API (<a href="https://redirect.github.com/cypress-io/github-action/issues/1749">#1749</a>)</li> <li><a href="b7a7441d77"><code>b7a7441</code></a> feat(deps): remove Node.js 20 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1747">#1747</a>)</li> <li><a href="66d3cedb63"><code>66d3ced</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/cypress-io/github-action/issues/1748">#1748</a>)</li> <li><a href="b9f9a99294"><code>b9f9a99</code></a> chore(deps): update eslint (<a href="https://redirect.github.com/cypress-io/github-action/issues/1746">#1746</a>)</li> <li><a href="81583aec50"><code>81583ae</code></a> chore(deps): update dependency cypress to v15.14.2 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1745">#1745</a>)</li> <li><a href="911b44aa97"><code>911b44a</code></a> chore(deps): update dependency webpack-cli to v7 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1742">#1742</a>)</li> <li><a href="da54419dc0"><code>da54419</code></a> chore(renovate): disable pnpm version updates in actions (<a href="https://redirect.github.com/cypress-io/github-action/issues/1743">#1743</a>)</li> <li><a href="10b3f5091b"><code>10b3f50</code></a> chore(renovate): disable pnpm/action-setup updates (<a href="https://redirect.github.com/cypress-io/github-action/issues/1739">#1739</a>)</li> <li><a href="8cbd2f496d"><code>8cbd2f4</code></a> chore(renovate): restrict cypress/browsers to <25 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1740">#1740</a>)</li> <li><a href="3aebf9a821"><code>3aebf9a</code></a> test(deps): update vite in examples to 8.0.10 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1741">#1741</a>)</li> <li>See full diff in <a href="c495c3ddff...dace029018">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
155 lines
4.8 KiB
YAML
155 lines
4.8 KiB
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
build-node:
|
|
name: "build on ${{ matrix.os }}"
|
|
runs-on: ${{ matrix.os }}
|
|
permissions:
|
|
contents: read
|
|
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm run lint
|
|
- run: npm run lint-css
|
|
|
|
|
|
|
|
build-artifacts:
|
|
name: "build artifacts"
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- name: artifacts/maputnik
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
name: maputnik
|
|
path: dist
|
|
|
|
# Build and upload desktop CLI artifacts
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
|
with:
|
|
go-version: ^1.23.x
|
|
cache-dependency-path: desktop/go.sum
|
|
id: go
|
|
|
|
- name: Build desktop artifacts
|
|
run: npm run build-desktop
|
|
|
|
- name: Artifacts/linux
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
name: maputnik-linux
|
|
path: ./desktop/bin/linux/
|
|
|
|
- name: Artifacts/darwin
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
name: maputnik-darwin
|
|
path: ./desktop/bin/darwin/
|
|
|
|
- name: Artifacts/windows
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
name: maputnik-windows
|
|
path: ./desktop/bin/windows/
|
|
|
|
unit-tests:
|
|
name: "Unit tests"
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- run: npm run test-unit-ci
|
|
- name: Upload coverage reports to Codecov
|
|
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
|
|
with:
|
|
files: ${{ github.workspace }}/coverage/coverage-final.json
|
|
verbose: true
|
|
|
|
e2e-tests:
|
|
name: "E2E tests using chrome"
|
|
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- name: Cypress run
|
|
uses: cypress-io/github-action@dace029018fcdf86e0df89a31bc3cfa5b32570d8 # v7.3.0
|
|
with:
|
|
build: npm run build
|
|
start: npm run start
|
|
browser: chrome
|
|
- name: Upload coverage reports to Codecov
|
|
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
|
|
with:
|
|
files: ${{ github.workspace }}/.nyc_output/out.json
|
|
verbose: true
|
|
|
|
e2e-tests-docker:
|
|
name: "E2E tests using chrome and docker"
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- name: Cypress run
|
|
uses: cypress-io/github-action@dace029018fcdf86e0df89a31bc3cfa5b32570d8 # v7.3.0
|
|
with:
|
|
build: docker build -t maputnik .
|
|
start: docker run --rm --network host maputnik --port=8888
|
|
browser: chrome
|
|
- name: Upload coverage reports to Codecov
|
|
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
|
|
with:
|
|
files: ${{ github.workspace }}/.nyc_output/out.json
|
|
verbose: true
|