Skip to content

Merge pull request #38 from qubyte/dependabot/npm_and_yarn/multi-f1b6… #124

Merge pull request #38 from qubyte/dependabot/npm_and_yarn/multi-f1b6…

Merge pull request #38 from qubyte/dependabot/npm_and_yarn/multi-f1b6… #124

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18, 20]
steps:
- name: checkout
uses: actions/checkout@main
- name: use node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- run: npm ci
- run: npm test --workspace=packages
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci
- run: npm run lint
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2