fix(week-number-calculation): if year start day same as selected star… #31
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
# GitHub Actions docs | |
# https://help.github.com/en/articles/about-github-actions | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: CI | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
# Machine environment: | |
# https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions#ubuntu-1804-lts | |
# We specify the Node.js version manually below, and use versioned Chrome from Puppeteer. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 16.15.0 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.15.0 | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Build Demo | |
run: npm run build:ci | |
- name: Test | |
run: npm run test:lib | |
- name: Docs | |
run: npm run docs:build | |
- name: Copy Files | |
run: npm run copy:demo:ci && npm run copy:readme && npm run copy:changelog && npm run copy:license | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. |