Skip to content

Commit e704d97

Browse files
author
Pavel Å vagr
committed
👷 Add test pipeline instead od lint staged
1 parent 5113cf7 commit e704d97

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

‎.github/workflows/test.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This workflow is performing prettier and lint checks on it's base code using it's own configuration
2+
3+
name: Test
4+
5+
on: [push]
6+
7+
jobs:
8+
run-eslint-and-prettier:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
registry-url: https://registry.npmjs.org/
16+
- run: npm install
17+
- run: npm run build
18+
- run: npm run eslint:check
19+
- run: npm run prettier:check

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"description": "styleguide-backend-config",
44
"version": "0.5.1-alpha.1",
55
"author": "Jaroslav Å molík <[email protected]>",
6-
"contributors": [],
6+
"contributors": [
7+
"Pavel Å vagr <[email protected]>"
8+
],
79
"files": [
810
"dist/*",
911
"danger.js",

0 commit comments

Comments
 (0)