Skip to content

Merge branch 'feature/simulation' of https://github.com/letsescape/ba… #6

Merge branch 'feature/simulation' of https://github.com/letsescape/ba…

Merge branch 'feature/simulation' of https://github.com/letsescape/ba… #6

Workflow file for this run

name: CI
on: [ push ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install the project dependencies
run: npm install
- name: Fix code style issues with prettier & eslint
run: npm run lint:fix && npm run prettier:fix
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install the project dependencies
run: npm install
- name: Run tests
run: npm test
build:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install the project dependencies
run: npm install
- name: Build the project
run: npm run build