Skip to content

Analyze metafiles

Analyze metafiles #124

Workflow file for this run

name: CI
on:
pull_request:
branches:
- 'main'
jobs:
pullRequestBuild:
name: Pull Request Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Check Label
uses: checkdigit/github-actions/check-label@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
run: npm audit signatures
- name: Compile
run: npm run ci:compile
- name: Check Code Style
run: npm run ci:style
- name: Perform Linting
run: npm run ci:lint
- name: Run Tests
run: npm run ci:test
branchBuild:
runs-on: ubuntu-latest
name: Branch Build
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Check Label
uses: checkdigit/github-actions/check-label@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
run: npm audit signatures
- name: Compile
run: npm run ci:compile
- name: Check Code Style
run: npm run ci:style
- name: Perform Linting
run: npm run ci:lint
- name: Run Tests
run: npm run ci:test