Skip to content

chore(deps): update actions/checkout digest to 85e6279 #398

chore(deps): update actions/checkout digest to 85e6279

chore(deps): update actions/checkout digest to 85e6279 #398

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
pull_request:
branches: [ "main" ]
jobs:
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3b9b8c884f6b4bb4d5be2779c26374abadae0871 # pin@v3
- name: Use Node.js 18
uses: actions/setup-node@aca7b64a59c0063db8564e0ffdadd3887f1cbae5 # pin@v3
with:
node-version: 18
cache: "npm"
- run: npm ci
- run: npm run lint
build:
name: "Dry-run build"
runs-on: ubuntu-latest
needs: [ "lint" ]
steps:
- uses: actions/checkout@3b9b8c884f6b4bb4d5be2779c26374abadae0871 # pin@v3
- name: Use Node.js 18
uses: actions/setup-node@aca7b64a59c0063db8564e0ffdadd3887f1cbae5 # pin@v3
with:
node-version: 18
cache: "npm"
- run: npm ci
- run: npm run build