Skip to content

fix(style): antd5 hashes override on tests #27

fix(style): antd5 hashes override on tests

fix(style): antd5 hashes override on tests #27

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/cache@v3
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
# - run: rm -rf node_modules package-lock.json
# - run: npm cache clean --force
# - run: npm install
- run: npm ci
- run: npm run build --if-present
- run: npm test