Skip to content

Fix usePrevious and usePreviousDistinct hooks (#5) #16

Fix usePrevious and usePreviousDistinct hooks (#5)

Fix usePrevious and usePreviousDistinct hooks (#5) #16

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Roblox/setup-foreman@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: "latest"
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install packages
run: yarn install --immutable
- name: Run npmluau
run: yarn run prepare
- name: Run linter
run: yarn run lint
- name: Verify code style
run: yarn run style-check