Skip to content

Commit

Permalink
Merge pull request #24 from rlaffers/update-badge-build
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaffers authored Oct 3, 2023
2 parents ae00bcc + e55a730 commit e63edbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
name: Main
on:
pull_request:
push:
branches:
- master

permissions:
contents: read # for checkout

jobs:
check:
name: Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Check code format
run: npm run format:check
- name: Lint code
run: npm run lint
- name: Run tests
run: npm test
check_code:
name: Check & test
uses: ./.github/workflows/test.yml
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pull request
name: Pull request code check
on:
pull_request:
branches:
Expand Down

0 comments on commit e63edbb

Please sign in to comment.