mirror of
https://github.com/directus/directus.git
synced 2026-02-11 11:14:55 -05:00
Use npm ci instead of install, only run e2e on main
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
node: ['16']
|
||||
name: Node ${{ matrix.node }} sample
|
||||
name: Node ${{ matrix.node }}
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.9.1
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Build Dependencies
|
||||
run: npm run build
|
||||
|
||||
Reference in New Issue
Block a user