mirror of
https://github.com/harness/drone.git
synced 2025-04-27 13:13:07 +00:00
node action added in ci
This commit is contained in:
parent
b416d5ce85
commit
89b44d2862
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -21,13 +21,14 @@ jobs:
|
|||||||
go-version: 1.17
|
go-version: 1.17
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
working-directory: ./web
|
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
run: |
|
- run: |
|
||||||
|
pushd web
|
||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
popd
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user