Skip to content

version: 10.15.1

version: 10.15.1 #150

Workflow file for this run

# This workflow will run tests using node and build the code on push or pull request events but only for the main and dev branches
name: Node.js
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Dependencies
run: npm install
- name: Lint
run: npm test
env:
CI: true
- name: Build
run: npm run build