Skip to content

Commit

Permalink
build: add npm-compatibility-check test (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
axi92 authored Aug 27, 2024
1 parent b952769 commit 5b18750
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ on:
pull_request:
branches: ['main']
jobs:
npm-compatibility-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: lts/*
# Cache not enabled to test if npm can load and resolve everything
- name: Remove engine restrictions to enable use of npm
run: npm pkg delete engines
- run: npm i
test-web:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5b18750

Please sign in to comment.