ci: update workflows
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -51,10 +51,16 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup NodeJS
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 17
|
||||
- name: Pull changes
|
||||
run: |
|
||||
git checkout master
|
||||
git pull
|
||||
- name: Setup metrics
|
||||
run: npm ci
|
||||
- name: Publish rebuild metrics indexes
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -3,8 +3,6 @@ name: Build, test and analyze
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
push:
|
||||
branches: [ master ]
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user