🐛 fix: ci/cd
Signed-off-by: Pauline <git@ethanlibs.co>
This commit is contained in:
parent
880727c501
commit
13580a0a2c
5 changed files with 20 additions and 6 deletions
2
.github/actions/clippy/dist/index.js
generated
vendored
2
.github/actions/clippy/dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
4
.github/actions/clippy/src/index.ts
vendored
4
.github/actions/clippy/src/index.ts
vendored
|
|
@ -98,11 +98,11 @@ async function run(): Promise<void> {
|
|||
);
|
||||
|
||||
if (code !== 0)
|
||||
core.setFailed(`reviewdog exited with status code: ${code}`);
|
||||
throw new Error(`reviewdog exited with status code: ${code}`);
|
||||
}
|
||||
catch (error) {
|
||||
if (error instanceof Error)
|
||||
core.setFailed(error.message);
|
||||
throw error;
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
|
|
|
|||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -2,7 +2,7 @@ name: Build
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
branches: [main]
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
merge_group:
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
# run: pnpm test:es
|
||||
|
||||
rust:
|
||||
name: Rust Checks
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
|
|
|
|||
14
.github/workflows/cache.yml
vendored
14
.github/workflows/cache.yml
vendored
|
|
@ -4,6 +4,20 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- README.md
|
||||
- CHANGELOG.md
|
||||
- package.json
|
||||
- LICENSE
|
||||
- CONTRIBUTING.md
|
||||
- TODO.md
|
||||
- .editorconfig
|
||||
- .vscode/*
|
||||
- apps/frontend/*
|
||||
- packages/distribution/*
|
||||
- packages/client/*
|
||||
- packages/patches/*
|
||||
- packages/scripts/*
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
pull_request:
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
profile: release
|
||||
|
||||
release:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
name: Create Release
|
||||
needs: desktop
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue