Skip to content

Commit

Permalink
ci: tweak pr workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjozork committed Apr 14, 2024
1 parent 1939f98 commit 880d692
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Title
name: PR Semantics
on:
pull_request_target:
types:
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ on:
- master
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.9'
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: install dependencies
run: npm ci
- name: npm run lint
run: |
npm run lint
build:
name: Build and upload Installer
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
Expand All @@ -21,7 +40,6 @@ jobs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: install dependencies
run: npm ci
- name: Install system requirements
Expand Down

0 comments on commit 880d692

Please sign in to comment.