Skip to content

chore(deps): update dependency sinon to v17 #79

chore(deps): update dependency sinon to v17

chore(deps): update dependency sinon to v17 #79

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
unit:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: Cache Modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: node-deps-${{ hashFiles('**/package-lock.json') }}
- name: Install npm packages
run: npm ci
- name: Run Tests
run: npm run test
e2e:
timeout-minutes: 60
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Cache jekyll
uses: actions/cache@v3
with:
path: _cache
key: jekyll-${{ hashFiles('**/*.md') }}
restore-keys: jekyll-
- name: Run server
run: bundle exec jekyll build
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache Modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: node-deps-${{ hashFiles('**/package-lock.json') }}
- name: Install npm packages
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30