diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index b990a7d..34577fd 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -20,11 +20,16 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 'latest' + - name: Configure Corepack run: corepack enable - name: Install Dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Run ESLint run: npx next lint diff --git a/.gitignore b/.gitignore index 33421a6..510e90a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ # testing /coverage -/__tests__/__snapshots__ # next.js /.next/ diff --git a/.prettierignore b/.prettierignore index a6020e0..7d3f0bd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,7 @@ # testing /coverage +/__tests__/__snapshots__ # next.js /.next/ diff --git a/__tests__/__snapshots__/index.test.tsx.snap b/__tests__/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000..d31b915 --- /dev/null +++ b/__tests__/__snapshots__/index.test.tsx.snap @@ -0,0 +1,73 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Home renders homepage unchanged 1`] = ` +