Skip to content

Commit 0ed18e7

Browse files
authored
Merge pull request #3 from sslava/workflows
add security md
2 parents 4ef4752 + b79bd92 commit 0ed18e7

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: CI
32

43
on: [push, pull_request]
@@ -17,34 +16,10 @@ jobs:
1716
with:
1817
node-version: ${{matrix.node}}
1918
- name: install dependencies
20-
run: npm ci
19+
run: yarn install
2120
- name: lint code
22-
run: npm run lint
21+
run: yarn lint
2322
- name: build project
24-
run: npm run build
23+
run: yarn build
2524
- name: run tests
26-
run: npm run test
27-
- name: coverage
28-
uses: codecov/codecov-action@v4
29-
if: github.actor != 'dependabot[bot]'
30-
with:
31-
fail_ci_if_error: true
32-
verbose: false
33-
token: ${{ secrets.CODECOV_TOKEN }}
34-
env:
35-
CI: true
36-
37-
release-preview:
38-
runs-on: ubuntu-latest
39-
needs: test
40-
steps:
41-
- uses: actions/checkout@v4
42-
- uses: actions/setup-node@v4
43-
with:
44-
node-version: "22.0.0"
45-
- name: install dependencies
46-
run: npm ci
47-
- name: build project
48-
run: npm run build
49-
- name: release preview with pkr-pr-new
50-
run: npx pkg-pr-new publish
25+
run: yarn test

0 commit comments

Comments
 (0)