Skip to content

chore: add extracted sources from react-geo #540

chore: add extracted sources from react-geo

chore: add extracted sources from react-geo #540

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