diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8ab47106d..3f41d32f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -8,6 +8,16 @@ on: | |||
8 | - trying | 8 | - trying |
9 | 9 | ||
10 | jobs: | 10 | jobs: |
11 | rust-audit: | ||
12 | name: Audit Rust vulnerabilities | ||
13 | runs-on: ubuntu-latest | ||
14 | steps: | ||
15 | - name: Checkout repository | ||
16 | uses: actions/checkout@v1 | ||
17 | |||
18 | - run: cargo install cargo-audit | ||
19 | - run: cargo audit | ||
20 | |||
11 | rust: | 21 | rust: |
12 | name: Rust | 22 | name: Rust |
13 | runs-on: ${{ matrix.os }} | 23 | runs-on: ${{ matrix.os }} |
@@ -79,7 +89,7 @@ jobs: | |||
79 | if: matrix.os == 'windows-latest' | 89 | if: matrix.os == 'windows-latest' |
80 | run: Remove-Item ./target/debug/xtask.exe | 90 | run: Remove-Item ./target/debug/xtask.exe |
81 | 91 | ||
82 | type-script: | 92 | typescript: |
83 | name: TypeScript | 93 | name: TypeScript |
84 | runs-on: ubuntu-latest | 94 | runs-on: ubuntu-latest |
85 | env: | 95 | env: |
@@ -96,7 +106,12 @@ jobs: | |||
96 | 106 | ||
97 | - run: npm ci | 107 | - run: npm ci |
98 | working-directory: ./editors/code | 108 | working-directory: ./editors/code |
99 | - run: npm run fmt | 109 | |
110 | - run: npm audit | ||
111 | working-directory: ./editors/code | ||
112 | |||
113 | - run: npm run lint | ||
100 | working-directory: ./editors/code | 114 | working-directory: ./editors/code |
115 | |||
101 | - run: npm run package --scripts-prepend-node-path | 116 | - run: npm run package --scripts-prepend-node-path |
102 | working-directory: ./editors/code | 117 | working-directory: ./editors/code |