Skip to content

Commit 930d30f

Browse files
committed
cleanuP: remove all the unnecessary files
1 parent 88a946e commit 930d30f

File tree

7 files changed

+683
-1245
lines changed

7 files changed

+683
-1245
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14
17+
node-version: 18
1818
- name: node_modules cache
1919
id: node-modules-cache
2020
uses: actions/cache@v3
@@ -32,13 +32,13 @@ jobs:
3232
run: yarn install --prefer-offline --frozen-lockfile
3333

3434
publish-npm:
35-
needs: [ setup ]
35+
needs: [setup]
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
3939
- uses: actions/setup-node@v3
4040
with:
41-
node-version: 14
41+
node-version: 18
4242
registry-url: https://registry.npmjs.org/
4343
- run: npm i -g yarn
4444
- run: yarn install --prefer-offline --frozen-lockfile

.github/workflows/tests.yml

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: test
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
test:
@@ -13,37 +13,34 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
node-version: [14.x, 16.x]
16+
node-version: [18.x, 23.x]
1717
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1818
steps:
19-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
cache: 'yarn'
25-
- run: npm i -g yarn
26-
- run: yarn install
27-
- run: yarn test
19+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: "yarn"
25+
- run: yarn install
26+
- run: yarn test
2827

2928
coverage:
30-
needs: [ test ]
29+
needs: [test]
3130
if: ${{ github.event_name != 'pull_request' }}
3231
name: coverage
3332
runs-on: ubuntu-latest
3433
steps:
35-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
36-
- uses: actions/setup-node@v3
37-
with:
38-
node-version: '14'
39-
- run: npm install -g yarn
40-
- run: yarn install
41-
- run: yarn build
42-
- uses: paambaati/[email protected]
43-
env:
44-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
45-
with:
46-
coverageCommand: yarn run test:coverage
47-
coverageLocations: |
48-
${{github.workspace}}/coverage/*.lcov:lcov
49-
34+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
35+
- uses: actions/setup-node@v3
36+
with:
37+
node-version: "18"
38+
- run: yarn install
39+
- run: yarn build
40+
- uses: paambaati/[email protected]
41+
env:
42+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
43+
with:
44+
coverageCommand: yarn run test:coverage
45+
coverageLocations: |
46+
${{github.workspace}}/coverage/*.lcov:lcov

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,4 @@ stats
4242
# If you're using Zero-Installs:
4343
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
4444
.yarn/*
45-
!.yarn/cache
46-
!.yarn/patches
47-
!.yarn/plugins
4845
!.yarn/releases
49-
!.yarn/sdks
50-
!.yarn/versions

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

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

.yarn/plugins/@yarnpkg/plugin-typescript.cjs

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

.yarnrc.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
nodeLinker: node-modules
22

3-
plugins:
4-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
5-
spec: "@yarnpkg/plugin-interactive-tools"
6-
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
7-
spec: "@yarnpkg/plugin-typescript"
3+
enableGlobalCache: true
84

95
yarnPath: .yarn/releases/yarn-4.9.1.cjs

0 commit comments

Comments
 (0)