mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🔧 Fix YAML
This commit is contained in:
parent
973e66700e
commit
8ca3210c41
24
.github/workflows/ci-pull-requests.yml
vendored
24
.github/workflows/ci-pull-requests.yml
vendored
|
@ -14,17 +14,25 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: npm install, build, test, and lint
|
||||
|
||||
- name: Install npm and dependencies
|
||||
run: npm install -g npm@latest && npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build --if-present
|
||||
|
||||
- name: Test
|
||||
run: npm run test
|
||||
|
||||
- name: Fetch base branch for `git diff`
|
||||
run: git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }}
|
||||
|
||||
- name: Run ESLint on changes only
|
||||
env:
|
||||
CI: true
|
||||
ESLINT_PLUGIN_DIFF_COMMIT: ${{ github.event.pull_request.base.ref }}
|
||||
run: |
|
||||
npm install -g npm@latest
|
||||
npm install
|
||||
npm run build --if-present
|
||||
npm test
|
||||
npm run lint
|
||||
run: npm run lint
|
||||
|
|
Loading…
Reference in a new issue