diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be7be15..0d27cb5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,9 +9,18 @@ permissions: jobs: setup: - uses: ./.github/workflows/setup.workflow.yml - with: - fetch-depth: 0 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v4 + with: + cache: npm + node-version: 20.x + + - run: npm ci super-lint: needs: setup diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70edec8..8a9401c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,9 +5,18 @@ on: jobs: setup: - uses: ./.github/workflows/setup.workflow.yml - with: - fetch-depth: 0 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v4 + with: + cache: npm + node-version: 20.x + + - run: npm ci # Run visual and composition tests with Chromatic visual-and-composition: