mirror of
https://github.com/maputnik/editor.git
synced 2026-03-05 09:50:00 +00:00
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.10.4 to 7.1.5. <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.1.5</h2> <h2><a href="https://github.com/cypress-io/github-action/compare/v7.1.4...v7.1.5">7.1.5</a> (2026-02-27)</h2> <h3>Bug Fixes</h3> <ul> <li>update fast-xml-parser to 5.4.1 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1667">#1667</a>) (<a href="bc22e01685">bc22e01</a>)</li> </ul> <h2>v7.1.4</h2> <h2><a href="https://github.com/cypress-io/github-action/compare/v7.1.3...v7.1.4">7.1.4</a> (2026-02-26)</h2> <h3>Bug Fixes</h3> <ul> <li>update minimatch to 3.1.5 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1665">#1665</a>) (<a href="f9ffb60bba">f9ffb60</a>)</li> </ul> <h2>v7.1.3</h2> <h2><a href="https://github.com/cypress-io/github-action/compare/v7.1.2...v7.1.3">7.1.3</a> (2026-02-18)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> update fast-xml-parser to 5.3.6 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1656">#1656</a>) (<a href="e44ee0fa67">e44ee0f</a>)</li> </ul> <h2>v7.1.2</h2> <h2><a href="https://github.com/cypress-io/github-action/compare/v7.1.1...v7.1.2">7.1.2</a> (2026-02-04)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> update fast-xml-parser to 5.3.4 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1648">#1648</a>) (<a href="9992daa508">9992daa</a>)</li> </ul> <h2>v7.1.1</h2> <h2><a href="https://github.com/cypress-io/github-action/compare/v7.1.0...v7.1.1">7.1.1</a> (2026-01-28)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> update @actions/* (<a href="https://redirect.github.com/cypress-io/github-action/issues/1645">#1645</a>) (<a href="0f330ebf0d">0f330eb</a>)</li> </ul> <h2>v7.0.0</h2> <h1><a href="https://github.com/cypress-io/github-action/compare/v6.10.9...v7.0.0">7.0.0</a> (2026-01-21)</h1> <h3>Features</h3> <ul> <li><strong>deps:</strong> update action from node20 to node24 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1639">#1639</a>) (<a href="dca986193e">dca9861</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="bc22e01685"><code>bc22e01</code></a> fix: update fast-xml-parser to 5.4.1 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1667">#1667</a>)</li> <li><a href="f9ffb60bba"><code>f9ffb60</code></a> fix: update minimatch to 3.1.5 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1665">#1665</a>)</li> <li><a href="369f1e4442"><code>369f1e4</code></a> chore(deps): update cypress to 15.11.0 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1664">#1664</a>)</li> <li><a href="1611df35e0"><code>1611df3</code></a> chore(deps): update dependency node to v24.14.0 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1663">#1663</a>)</li> <li><a href="f7e2a496de"><code>f7e2a49</code></a> chore(deps): update cypress/browsers docker tag to v24.14.0 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1662">#1662</a>)</li> <li><a href="81091a350e"><code>81091a3</code></a> chore(deps): update cypress/browsers docker tag to v24.13.1 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1658">#1658</a>)</li> <li><a href="ccdb4478c0"><code>ccdb447</code></a> chore(deps): update dependency node to v24.13.1 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1659">#1659</a>)</li> <li><a href="8ae2a51da2"><code>8ae2a51</code></a> chore(deps): update dependency eslint to v10.0.2 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1660">#1660</a>)</li> <li><a href="d1ff2b553e"><code>d1ff2b5</code></a> chore(deps): update dependency eslint-plugin-cypress to v6.1.0 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1661">#1661</a>)</li> <li><a href="ca94677121"><code>ca94677</code></a> chore(deps): update eslint to 10.0.0 (<a href="https://redirect.github.com/cypress-io/github-action/issues/1657">#1657</a>)</li> <li>Additional commits viewable in <a href="7ef72e250a...bc22e01685">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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- name: artifacts/maputnik
|
|
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
with:
|
|
name: maputnik
|
|
path: dist
|
|
|
|
# Build and upload desktop CLI artifacts
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.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@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
with:
|
|
name: maputnik-linux
|
|
path: ./desktop/bin/linux/
|
|
|
|
- name: Artifacts/darwin
|
|
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
with:
|
|
name: maputnik-darwin
|
|
path: ./desktop/bin/darwin/
|
|
|
|
- name: Artifacts/windows
|
|
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.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@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
|
|
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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- name: Cypress run
|
|
uses: cypress-io/github-action@bc22e01685c56e89e7813fd8e26f33dc47f87e15 # v7.1.5
|
|
with:
|
|
build: npm run build
|
|
start: npm run start
|
|
browser: chrome
|
|
- name: Upload coverage reports to Codecov
|
|
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
|
|
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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- run: npm ci
|
|
- name: Cypress run
|
|
uses: cypress-io/github-action@bc22e01685c56e89e7813fd8e26f33dc47f87e15 # v7.1.5
|
|
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@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
|
|
with:
|
|
files: ${{ github.workspace }}/.nyc_output/out.json
|
|
verbose: true
|