Skip to content

Commit 9b401f0

Browse files
authored
Update package-lock.json to v2 (#1211)
* chore: Update package-lock.json to v2 * chore: Update github actions workflow * chore: Uninstall npm-run-all * chore: Update ci workflow * chore: Update setup script * chore: Rename ci build
1 parent 4174a22 commit 9b401f0

4 files changed

Lines changed: 22455 additions & 2732 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: push
44

55
jobs:
6-
build:
6+
ci:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
@@ -12,10 +12,16 @@ jobs:
1212
with:
1313
node-version: 16.x
1414
cache: 'npm'
15-
- run: npm ci
16-
- run: npm run all
15+
- name: Install dependencies
16+
run: npm ci --legacy-peer-deps
17+
- name: Build
18+
run: npm run build
19+
- name: Test
20+
run: npm run test:coverage
21+
- name: Lint
22+
run: npm run lint
1723
- name: Release
18-
if: github.ref_name == 'master'
24+
if: github.ref_name == 'main'
1925
run: npx semantic-release
2026
env:
2127
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

bin/setup.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
npm install --legacy-peer-deps
4+
npm run build
5+
npm run test:coverage
6+
npm run lint

0 commit comments

Comments
 (0)