Skip to content

Commit ef06360

Browse files
committedAug 16, 2021
chore: bump @gitbeaker/node
1 parent 2b10f3d commit ef06360

File tree

5 files changed

+385
-613
lines changed

5 files changed

+385
-613
lines changed
 

‎.github/workflows/ci.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,25 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@master
19+
uses: actions/checkout@v2
2020

2121
- name: Setup Node.js ${{ matrix.node }}
22-
uses: actions/setup-node@master
22+
uses: actions/setup-node@v2
2323
with:
2424
node-version: ${{ matrix.node }}
25+
cache: yarn
2526

2627
- name: Link Yarn global binaries into PATH
2728
run: echo "$(yarn global bin)" >> $GITHUB_PATH
2829

29-
- name: Get yarn cache directory path
30-
id: yarn-cache-dir-path
31-
run: echo "::set-output name=dir::$(yarn cache dir)"
32-
33-
- uses: actions/cache@v2
34-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
35-
with:
36-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
37-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
38-
restore-keys: |
39-
${{ runner.os }}-yarn-
40-
4130
- name: Install Dependencies
4231
run: yarn --frozen-lockfile
4332

44-
- name: Build and Lint
33+
- name: Build, Lint and Test
4534
run: |
4635
yarn build
4736
yarn lint
4837
yarn test
49-
yarn typecov
5038
env:
5139
EFF_NO_LINK_RULES: true
5240
PARSER_NO_WATCH: true

‎.github/workflows/release.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout Repo
14-
uses: actions/checkout@master
14+
uses: actions/checkout@v2
1515
with:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0
1818

1919
- name: Setup Node.js 14.x
20-
uses: actions/setup-node@master
20+
uses: actions/setup-node@v2
2121
with:
2222
node-version: 14.x
23+
cache: yarn
2324

2425
- name: Get yarn cache directory path
2526
id: yarn-cache-dir-path
2627
run: echo "::set-output name=dir::$(yarn cache dir)"
2728

28-
- uses: actions/cache@v2
29-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
30-
with:
31-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
32-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33-
restore-keys: |
34-
${{ runner.os }}-yarn-
35-
3629
- name: Install Dependencies
3730
run: yarn --frozen-lockfile
3831

‎package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@
2323
"build:r": "r -f cjs",
2424
"build:ts": "tsc -p tsconfig.lib.json",
2525
"cli": "node --loader ts-node/esm src/cli.ts",
26-
"lint": "eslint . --cache -f friendly",
26+
"lint": "run-p lint:*",
27+
"lint:es": "eslint . --cache -f friendly",
28+
"lint:tsc": "tsc --noEmit",
2729
"prepare": "patch-package && simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
2830
"prerelease": "yarn build",
2931
"release": "changeset publish",
30-
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
32+
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
3133
"typecov": "type-coverage"
3234
},
3335
"dependencies": {
@@ -37,7 +39,7 @@
3739
"@changesets/config": "^1.6.0",
3840
"@changesets/parse": "^0.3.8",
3941
"@changesets/types": "^4.0.0",
40-
"@gitbeaker/node": "^32.1.1",
42+
"@gitbeaker/node": "^32.1.2",
4143
"@manypkg/get-packages": "^1.1.1",
4244
"@sentry/node": "^6.11.0",
4345
"dotenv": "^10.0.0",
@@ -65,6 +67,7 @@
6567
"@types/micromatch": "^4.0.2",
6668
"jest": "^27.0.6",
6769
"patch-package": "^6.4.7",
70+
"postcss": "^8.3.6",
6871
"ts-jest": "^27.0.4",
6972
"ts-node": "^10.2.0",
7073
"type-coverage": "^2.18.0",

‎tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "@1stg/tsconfig/lib",
33
"compilerOptions": {
44
"target": "ES2019"
5-
}
5+
},
6+
"exclude": ["lib"]
67
}

0 commit comments

Comments
 (0)