Skip to content

Commit d4194fa

Browse files
Merge pull request #23 from onebeyond/npm-7
chore: try to make it work with npm 7
2 parents 6bf0b56 + 4f52ef6 commit d4194fa

File tree

3 files changed

+3654
-49
lines changed

3 files changed

+3654
-49
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@ jobs:
3131
- run: npm run lint
3232
- run: npm test
3333

34-
code-climate:
35-
needs: build
36-
runs-on: ubuntu-latest
37-
steps:
38-
- name: 🔐 Harden Runner
39-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
40-
with:
41-
egress-policy: audit
42-
# disable-sudo: true
43-
# allowed-endpoints: >
44-
# github.com:443
45-
# registry.npmjs.org:443
46-
# api.github.com:443
47-
# nodejs.org:443
34+
# code-climate:
35+
# needs: build
36+
# runs-on: ubuntu-latest
37+
# steps:
38+
# - name: 🔐 Harden Runner
39+
# uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
40+
# with:
41+
# egress-policy: audit
42+
# # disable-sudo: true
43+
# # allowed-endpoints: >
44+
# # github.com:443
45+
# # registry.npmjs.org:443
46+
# # api.github.com:443
47+
# # nodejs.org:443
4848

49-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
50-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
51-
with:
52-
node-version: '14.x'
53-
- run: npm ci
54-
- run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
55-
- run: chmod +x ./cc-test-reporter
56-
- run: ./cc-test-reporter before-build
57-
- run: npm run coverage
58-
- run: ./cc-test-reporter format-coverage -t lcov coverage/lcov.info
59-
- run: ./cc-test-reporter upload-coverage
60-
env:
61-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
49+
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
50+
# - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
51+
# with:
52+
# node-version: '14.x'
53+
# - run: npm ci
54+
# - run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
55+
# - run: chmod +x ./cc-test-reporter
56+
# - run: ./cc-test-reporter before-build
57+
# - run: npm run coverage
58+
# - run: ./cc-test-reporter format-coverage -t lcov coverage/lcov.info
59+
# - run: ./cc-test-reporter upload-coverage
60+
# env:
61+
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

0 commit comments

Comments
 (0)