Skip to content

Commit 8d62b81

Browse files
authored
Merge pull request #145 from transcend-io/bencmbrook/repo-fixes
minor repo fixes
2 parents 477f3c8 + db63e00 commit 8d62b81

21 files changed

Lines changed: 45 additions & 631 deletions

File tree

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
**/Internal-Documentation/*
1515
*.testjs
1616
*.testts
17-
*__snapshots__/*
17+
*__snapshots__/*

.github/commands/dependencies/install_yarn_deps/action.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@ runs:
44
using: 'composite'
55
steps:
66
# Install Yarn v2 dependencies
7-
- uses: actions/setup-node@v2
7+
- uses: actions/setup-node@v4.2.0
88
with:
9-
node-version: '20.9.0'
10-
- run: npm install -g "yarn@1.22.5"
9+
node-version-file: '.nvmrc'
10+
11+
- run: npm install -g "yarn@1.22.19"
1112
shell: bash
12-
- uses: actions/cache@v2
13+
14+
- uses: actions/cache@v4.2.0
1315
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
1416
with:
1517
path: |
1618
.yarn/cache
1719
.yarn/unplugged
1820
.yarn/install-state.gz
1921
.pnp.cjs
20-
key: ${{ runner.os }}-${{ runner.arch }}-yarn-v4-${{ hashFiles('**/yarn.lock', '**/package.json') }}
22+
key: ${{ runner.os }}-${{ runner.arch }}-yarn-v3-${{ hashFiles('**/yarn.lock', '**/package.json') }}
2123
restore-keys: |
22-
${{ runner.os }}-${{ runner.arch }}-yarn-v4-
24+
${{ runner.os }}-${{ runner.arch }}-yarn-v3-
2325
- run: yarn install --immutable
2426
name: Install yarn deps
25-
shell: bash
27+
shell: bash

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
build-and-upload-artifacts:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99
- uses: ./.github/commands/dependencies/install_yarn_deps
1010
- name: Build
1111
run: yarn build
12-
- uses: actions/upload-artifact@v3
12+
- uses: actions/upload-artifact@v4
1313
with:
1414
name: build-artifact
1515
path: dist/
@@ -21,24 +21,24 @@ jobs:
2121
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
2222
timeout-minutes: 10
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- uses: ./.github/commands/dependencies/install_yarn_deps
2626
- run: yarn test:browserstack
2727

2828
run-depcheck:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v4
3232
- uses: ./.github/commands/dependencies/install_yarn_deps
3333
- run: yarn depcheck
3434

3535
run-pre-commits:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
3939
with:
4040
fetch-depth: 100 # need the history to do a changed files check below (source, origin)
41-
- uses: actions/setup-python@v2
41+
- uses: actions/setup-python@v5
4242
- uses: ./.github/commands/dependencies/install_yarn_deps
4343
- uses: pre-commit/action@v3.0.0
4444

@@ -53,7 +53,7 @@ jobs:
5353
- run-pre-commits
5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v2
56+
uses: actions/checkout@v4
5757
- uses: ./.github/commands/dependencies/install_yarn_deps
5858
- name: Download build artifact
5959
uses: actions/download-artifact@v3
@@ -78,7 +78,7 @@ jobs:
7878
- run-pre-commits
7979
steps:
8080
- name: Checkout
81-
uses: actions/checkout@v2
81+
uses: actions/checkout@v4
8282
- uses: ./.github/commands/dependencies/install_yarn_deps
8383
- name: Download build artifact
8484
uses: actions/download-artifact@v3

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# macOS
2+
.DS_Store
3+
14
# Logs
25
logs
36
*.log

.vscode/settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"editor.defaultFormatter": "esbenp.prettier-vscode",
3-
"eslint.nodePath": ".yarn/sdks",
3+
"[json]": {
4+
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
},
46
"eslint.trace.server": "messages",
5-
"typescript.tsdk": ".yarn/sdks/typescript/lib",
67
"typescript.enablePromptUseWorkspaceTsdk": true,
7-
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
88
"editor.formatOnSave": true,
99
"typescript.updateImportsOnFileMove.enabled": "always",
1010
"javascript.preferences.quoteStyle": "single",
@@ -34,7 +34,7 @@
3434
"**/.pnp.*": true
3535
},
3636
"editor.codeActionsOnSave": {
37-
"source.fixAll": true
37+
"source.fixAll": "always"
3838
},
3939
"cSpell.words": [
4040
"allsettled",

.yarn/sdks/eslint/bin/eslint.js

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

.yarn/sdks/eslint/lib/api.js

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

.yarn/sdks/eslint/package.json

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

.yarn/sdks/integrations.yml

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

.yarn/sdks/prettier/index.js

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

0 commit comments

Comments
 (0)