feat: add time filter #437
Workflow file for this run
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: Node.js CI | |
on: | |
pull_request: | |
branches: ['develop'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Set Timezone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: 'America/Sao_Paulo' | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build project | |
run: yarn build | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
start: yarn start |