RegionX Paseo #756
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |