8000 Implemented config and random word loading in play view model, removed hard-coded test data · mcarr823/react-words@744666d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implemented config and random word loading in play view model, remove… #18

Implemented config and random word loading in play view model, remove…

Implemented config and random word loading in play view model, remove… #18

Workflow file for this run

name: Jest
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
# Speed up subsequent runs with caching
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
# Install required deps for action
- name: Install Dependencies
run: npm install --prefix ./src
# Finally, run our tests
- name: Run the tests
run: npm test --prefix ./src
0