Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): check files on yarn install #11

Closed
wants to merge 14 commits into from
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Install dependencies
run: yarn install --immutable

- name: Check directory
run: tree . -L 2

- name: Build
run: yarn build

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,25 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable

- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: yarn
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
cache-dependency-path: yarn.lock

- run: tree . -L 2 -a

- name: Install dependencies
run: yarn install --immutable

- run: tree . -L 2 -a

- name: Build
run: yarn build

Expand Down
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cacheFolder: .yarn/cache

compressionLevel: mixed

enableGlobalCache: false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@
}
]
},
"packageManager": "yarn@4.2.2"
"packageManager": "yarn@4.3.1"
}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10222,11 +10222,11 @@ __metadata:

"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.5.2#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.5.3#optional!builtin<compat/typescript>":
version: 5.5.3
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=b45daf"
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/b61b8bb4b4d6a8a00f9d5f931f8c67070eed6ad11feabf4c41744a326987080bfc806a621596c70fbf2e5974eca3ed65bafeeeb22a078071bdfb51d8abd7c013
checksum: 10/7cf7acb78a80f749b82842f2ffe01e90e7b3e709a6f4268588e0b7599c41dca1059be217f47778fe1a380bfaf60933021ef20d002c426d4d7745e1b36c11467b
languageName: node
linkType: hard

Expand Down
Loading