Skip to content

RegionX Paseo

RegionX Paseo #756

Workflow file for this run

name: Coretime Hub CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# Install dependencies
- name: Install dependencies
run: |
npm install -g npm@latest
npm i
# Run linter
- name: Run Linter
run: npm run lint
# Check Prettier
- name: Check Prettier
run: npm run format
# Run tests
- name: Run Tests
run: npm run test
# Run build
- name: Build
run: npm run build