Skip to content

chore(deps-dev): bump rollup from 4.21.3 to 4.22.4 in /demo in the npm_and_yarn group #441

chore(deps-dev): bump rollup from 4.21.3 to 4.22.4 in /demo in the npm_and_yarn group

chore(deps-dev): bump rollup from 4.21.3 to 4.22.4 in /demo in the npm_and_yarn group #441

Workflow file for this run

---
name: CI
on:
pull_request:
branches: ['main']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
permissions:
contents: read
pull-requests: write
name: MegaLinter
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: MegaLinter
uses: oxsecurity/megalinter/flavors/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
VITE_HERE_MAPS_PLACES_KEY: ${{ vars.VITE_HERE_MAPS_PLACES_KEY }}
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
VITE_TEST: 'true'
VITE_HERE_MAPS_PLACES_KEY: ${{ vars.VITE_HERE_MAPS_PLACES_KEY }}
VITE_PUBLIC_PATH: https://cdn.jsdelivr.net/npm/@etchteam/recycling-locator@${{ steps.package-version.outputs.current-version}}/dist/
VITE_PACKAGE_VERSION: ${{ steps.package-version.outputs.current-version}}
- name: Install Playwright
run: npx playwright install --with-deps chromium
- name: Run tests
run: npm run test:ci
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
VITE_TEST: 'true'