Skip to content

Commit

Permalink
Update to 7.32 (#32)
Browse files Browse the repository at this point in the history
* Update to 7.32

- Update package versions to latest.

* Update actions in GitHub workflow
  • Loading branch information
dricholm committed Aug 25, 2022
1 parent 880090d commit 8cb87f2
Show file tree
Hide file tree
Showing 48 changed files with 16,036 additions and 17,310 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ module.exports = {
'plugin:storybook/recommended',
],
ignorePatterns: [
'.next/',
'.eslintrc.js',
'.next/',
'coverage',
'cypress.config.ts',
'cypress',
'jest.config.js',
'next.config.js',
'next.sitemap.js',
'node_modules/',
'src/test',
'stylelint.config.js',
],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

steps:
- name: Checkout project
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to retrieve git history for Chromatic
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: current
- uses: actions/cache@v1
with:
path: ~/.npm
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Build website
run: npm run build
- name: Report coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
Expand All @@ -54,9 +54,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run Cypress
uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v4
with:
build: npm run build
start: npm start
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ yarn-error.log*
# Generated sitemap
public/robots.txt
public/sitemap.xml
public/sitemap-0.xml
7 changes: 7 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'cypress';

export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
},
});
3 changes: 0 additions & 3 deletions cypress.json

This file was deleted.

1 change: 1 addition & 0 deletions cypress/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
videos
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions cypress/integration/items.spec.ts → cypress/e2e/items.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ describe('items', () => {
cy.findByText(/roshan/i);
cy.findByText(/removed/i);

const items =
const items = Object.values<{ cost: number; dname: string; id: number }>(
// @ts-expect-error Not all values needed
Object.values<{ cost: number; dname: string; id: number }>(itemsJson);
itemsJson,
);

const tpScroll = items.find(({ id }) => id === 46);

Expand Down
21 changes: 0 additions & 21 deletions cypress/plugins/index.js

This file was deleted.

File renamed without changes.
Loading

1 comment on commit 8cb87f2

@vercel
Copy link

@vercel vercel bot commented on 8cb87f2 Aug 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.