diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 780b990b2..40298b1d4 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest if: github.actor != 'dependabot-preview[bot]' && github.event.pull_request.merged == true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: yarn install --frozen-lockfile - name: Publish to Chromatic - uses: chromaui/action@v1 + uses: chromaui/action@latest with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e308d21c..3e9116075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: '16.20' - name: Install dependencies run: yarn install --frozen-lockfile @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: '16.20' - name: Install dependencies run: yarn install --frozen-lockfile @@ -35,16 +35,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: '16.20' - name: Install dependencies - run: | - yarn install --frozen-lockfile - yarn add @playwright/test@latest --ignore-engines - npx playwright install + run: yarn install --frozen-lockfile - name: Run Typescript run: yarn types:check @@ -52,10 +49,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: '16.20' - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 282f5b25c..4759ffb5c 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: '16.20' - name: Install dependencies run: | diff --git a/package.json b/package.json index 30efb2818..43f1dcea3 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:check": "next lint", "format": "prettier . --write --ignore-path ./.gitignore", "format:check": "prettier . --check --ignore-path ./.gitignore", - "types:check": "tsc", + "types:check": "tsc -v && tsc", "storybook": "start-storybook -p 6006", "storybook:build": "build-storybook", "test:unit": "jest",