Skip to content

Commit

Permalink
feat: fix pipeline error due to missing dependencies #3
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 13, 2024
1 parent a00a1c6 commit 81bf417
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install rpm
run: sudo apt-get install -y rpm
if: matrix.os == 'ubuntu-latest'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: npm ci
- run: npm run lint:check
- run: npm audit --audit-level=critical
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@ jobs:
build:
strategy:
matrix:
os:
[
{ name: 'linux', image: 'ubuntu-latest' },
{ name: 'windows', image: 'windows-latest' },
{ name: 'macos', image: 'macos-latest' },
]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os.image }}
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Install rpm
run: sudo apt-get install -y rpm
if: matrix.os == 'ubuntu-latest'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: npm ci
- run: npm run build
- name: Build app
Expand Down

0 comments on commit 81bf417

Please sign in to comment.