Skip to content

Commit 6a0a848

Browse files
authored
feature: update deps + node (#203)
1 parent 2357869 commit 6a0a848

File tree

13 files changed

+2415
-1641
lines changed

13 files changed

+2415
-1641
lines changed

.eslintrc.js

Lines changed: 0 additions & 295 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,26 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
node-version: [18.x, 20.x, 22.x]
25+
node-version: [18.x, 20.x, 22.x, 24.x]
2626

2727
steps:
28-
29-
- name: Echo env variables
30-
run: |
31-
echo ref: ${{ github.event.client_payload.ref || github.ref }}
32-
echo sha: ${{ github.event.client_payload.sha || github.sha }}
33-
echo head ref: ${{ github.event.client_payload.head_ref || github.head_ref }}
34-
echo base ref: ${{ github.event.client_payload.base_ref || github.base_ref }}
35-
echo action: ${{ github.action }}
36-
echo event: ${{ github.event_name }}
37-
38-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v5
3929
name: Checkout
4030
with:
4131
ref: ${{ github.event.client_payload.ref || github.ref }}
4232

4333
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v2
34+
uses: actions/setup-node@v6
4535
with:
4636
node-version: ${{ matrix.node-version }}
4737

4838
- name: Get yarn cache directory
4939
id: yarn-cache-dir
40+
shell: bash
5041
run: |
51-
echo "::set-output name=dir::$(yarn cache dir)"
42+
echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
5243
53-
- uses: actions/cache@v2
44+
- uses: actions/cache@v4
5445
id: yarn-cache
5546
with:
5647
path: ${{ steps.yarn-cache-dir.outputs.dir }}
@@ -71,11 +62,14 @@ jobs:
7162

7263
- name: Run unit tests with coverage
7364
if: matrix.node-version == env.PRIMARY_NODE_VERSION && matrix.os == env.PRIMARY_OS && !github.event.pull_request.head.repo.fork
74-
uses: paambaati/[email protected]
75-
env:
76-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
65+
run: yarn cover
66+
67+
- name: Upload coverage
68+
if: matrix.node-version == env.PRIMARY_NODE_VERSION && matrix.os == env.PRIMARY_OS
69+
uses: qltysh/qlty-action/coverage@v2
7770
with:
78-
coverageCommand: yarn cover
71+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
72+
files: coverage/lcov.info
7973

8074
- name: Run unit tests
8175
if: "!(matrix.node-version == env.PRIMARY_NODE_VERSION && matrix.os == env.PRIMARY_OS)"
@@ -93,24 +87,25 @@ jobs:
9387
steps:
9488

9589
- name: Checkout
96-
uses: actions/checkout@v2
90+
uses: actions/checkout@v5
9791

9892
- name: fetch
9993
run: |
10094
git fetch --prune --unshallow
10195
10296
- name: Use Node.js ${{ matrix.node-version }}
103-
uses: actions/setup-node@v2
97+
uses: actions/setup-node@v6
10498
with:
10599
node-version: ${{ matrix.node-version }}
106100
registry-url: ${{ env.REGISTRY }}
107101

108102
- name: Get yarn cache directory
109103
id: yarn-cache-dir
104+
shell: bash
110105
run: |
111-
echo "::set-output name=dir::$(yarn cache dir)"
106+
echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
112107
113-
- uses: actions/cache@v2
108+
- uses: actions/cache@v4
114109
id: yarn-cache
115110
with:
116111
path: ${{ steps.yarn-cache-dir.outputs.dir }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![Npm Version](https://img.shields.io/npm/v/squiss-ts.svg?style=popout)](https://www.npmjs.com/package/squiss-ts)
22
[![node](https://img.shields.io/node/v-lts/squiss-ts)](https://travis-ci.com/PruvoNet/squiss-ts)
33
[![Build Status](https://github.com/PruvoNet/squiss-ts/actions/workflows/ci.yml/badge.svg?branch=master)](https://travis-ci.com/PruvoNet/squiss-ts)
4-
[![Test Coverage](https://api.codeclimate.com/v1/badges/177b18abdb55fdf90cf8/test_coverage)](https://codeclimate.com/github/PruvoNet/squiss-ts/test_coverage)
5-
[![Maintainability](https://api.codeclimate.com/v1/badges/177b18abdb55fdf90cf8/maintainability)](https://codeclimate.com/github/PruvoNet/squiss-ts/maintainability)
4+
[![Code Coverage](https://qlty.sh/gh/PruvoNet/projects/squiss-ts/coverage.svg)](https://qlty.sh/gh/PruvoNet/projects/squiss-ts)
5+
[![Maintainability](https://qlty.sh/gh/PruvoNet/projects/squiss-ts/maintainability.svg)](https://qlty.sh/gh/PruvoNet/projects/squiss-ts)
66
[![Known Vulnerabilities](https://snyk.io/test/github/PruvoNet/squiss-ts/badge.svg?targetFile=package.json)](https://snyk.io/test/github/PruvoNet/squiss-ts?targetFile=package.json)
77

88
<p align="center">

0 commit comments

Comments
 (0)