Skip to content

Commit

Permalink
action configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Dec 12, 2024
1 parent ab36762 commit 5ba9938
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/eslint-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ESLint Check

on: [push, pull_request]
on: [pull_request]

jobs:
eslint:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run unit tests

on: [push, pull_request]
on: [pull_request]

jobs:
build:
Expand All @@ -20,5 +20,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
3 changes: 2 additions & 1 deletion .github/workflows/validate-action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: "Validate Action"
on: [push, pull_request]
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run JSON File Action
uses: ./ # Assuming the action is in the root directory
with:
Expand Down
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "your-action",
"version": "0.0.1",
"description": "Silicon Labs Matter GN Build Action",
"devDependencies": {
"@eslint/js": "^9.16.0",
"eslint": "^9.16.0",
Expand All @@ -12,4 +15,4 @@
"scripts": {
"test": "jest"
}
}
}

0 comments on commit 5ba9938

Please sign in to comment.