Skip to content

Inline the node versions in Github actions to test if renovate can include them in it's upgrade PR #57

Inline the node versions in Github actions to test if renovate can include them in it's upgrade PR

Inline the node versions in Github actions to test if renovate can include them in it's upgrade PR #57

Workflow file for this run

# This workflow validates pull requests by running unit tests and linting.
name: Validate PR
on:
pull_request:
branches: ['main']
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure node
uses: actions/[email protected]
with:
node-version: 22.10.0
- name: Install packages
run: npm ci
- name: Build
run: npm run build
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: build-artifacts
path: |
dist
env.schema.js
Dockerfile
.dockerignore
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure node
uses: actions/[email protected]
with:
node-version: 22.10.0
- name: Install packages
run: npm ci
- name: Lint
run: npm run lint
- name: Run unit tests
run: npm t