Skip to content

Eslint: homogenize / sort imports using simple-sort-plugin #553

Eslint: homogenize / sort imports using simple-sort-plugin

Eslint: homogenize / sort imports using simple-sort-plugin #553

Workflow file for this run

name: Test build of react-util
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules 💾
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies ⏬
run: npm ci
- name: Lint code 💄
run: npm run lint
- name: Test code ✅
run: npm run test-ci
- name: Build artifacts 🏗️
run: npm run build