Merge pull request #198 from metalshub/includeCalendarWeeks #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Test | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- '*.md' | |
- '.github/**' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- '*.md' | |
- '.github/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Upgrade Chrome browser | |
run: | | |
sudo apt-get update | |
sudo apt-get --only-upgrade install google-chrome-stable | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm ci --include=optional | |
- name: Run tests | |
run: npm run test-with-coverage |