Fix date localization causing test to fail #2963
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: Jest Javascript/React tests | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install yarn | |
run: | | |
yarn policies set-version 1.22.10 | |
yarn install --frozen-lockfile | |
# - name: Install modules | |
# run: yarn | |
- name: run eslint | |
run: yarn run eslint --ext .jsx,.js app/javascript/react | |
- name: Run tests | |
run: yarn test |