Skip to content

Commit

Permalink
ci: overwrite package-lock.json in CI
Browse files Browse the repository at this point in the history
Necessary because I cannot create a package-lock.json locally that's compatible with NPM 6.
  • Loading branch information
FERNman committed Sep 2, 2024
1 parent 75642fe commit a6936a3
Show file tree
Hide file tree
Showing 3 changed files with 2,185 additions and 4,337 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: '14.15'
- run: npm ci
- run: npm install
- run: npm run build
- name: Publish to npm
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ on:
branches: ['master']

jobs:
build:
test-and-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14.15'
cache: 'npm'
- run: npm ci
- run: npm install
- run: npm run build
- name: Run tests
run: npm run test -- --ci --coverage --reporters default --reporters jest-junit
Expand Down
Loading

0 comments on commit a6936a3

Please sign in to comment.