feat: exposes gotoPeriod method to top level, removes unused event parameter #668
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: Unit tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test_london: | |
name: Test London | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v3 | |
- name: Set Timezone 🌍🌎🌏 | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Europe/London" | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies 🛠️ | |
run: npm i | |
- name: Run Vitest 🧪 | |
run: npx vitest run --silent | |
test_mountain_view: | |
name: Test Mountain View | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v3 | |
- name: Set Timezone 🌍🌎🌏 | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: "US/Pacific" | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies 🛠️ | |
run: npm i | |
- name: Run Vitest 🧪 | |
run: npx vitest run --silent | |
test_tokyo: | |
name: Test Tokyo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v3 | |
- name: Set Timezone 🌍🌎🌏 | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Tokyo" | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies 🛠️ | |
run: npm i | |
- name: Run Vitest 🧪 | |
run: npx vitest run --silent |