Skip to content

Commit

Permalink
👷 Add test pipeline instead od lint staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Å vagr committed Dec 4, 2024
1 parent 5113cf7 commit e704d97
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow is performing prettier and lint checks on it's base code using it's own configuration

name: Test

on: [push]

jobs:
run-eslint-and-prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm run eslint:check
- run: npm run prettier:check
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"description": "styleguide-backend-config",
"version": "0.5.1-alpha.1",
"author": "Jaroslav Šmolík <grissius@gmail.com>",
"contributors": [],
"contributors": [
"Pavel Å vagr <s.pavel66@gmail.com>"
],
"files": [
"dist/*",
"danger.js",
Expand Down

0 comments on commit e704d97

Please sign in to comment.