Skip to content

Commit

Permalink
chore(node): bump node and simplify ci (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r authored Feb 17, 2022
1 parent 931544c commit 103c3d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ name: ci
# trigger on pull_request or push events
on:
push:
branches:
pull_request:

env:
NODE_VERSION: '16.13.2'
CI: 1

# pipeline to execute
Expand Down Expand Up @@ -46,7 +44,7 @@ jobs:
cypress-${{ runner.os }}-bin-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

- name: install dependencies
run: npm ci --prefer-offline --no-audit
Expand Down Expand Up @@ -90,7 +88,7 @@ jobs:
cypress-${{ runner.os }}-bin-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

- name: install dependencies
run: npm ci --prefer-offline --no-audit
Expand Down Expand Up @@ -128,7 +126,7 @@ jobs:
cypress-${{ runner.os }}-bin-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

- name: install dependencies
run: npm ci --prefer-offline --no-audit
Expand Down Expand Up @@ -173,7 +171,7 @@ jobs:
cypress-${{ runner.os }}-bin-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

- name: install dependencies
run: npm ci --prefer-offline --no-audit
Expand Down Expand Up @@ -211,7 +209,7 @@ jobs:
${{ runner.os }}-modules-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

# ┌┐ ┬ ┬┬┬ ┌┬┐
# ├┴┐│ │││ ││
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
tags:
- 'v*'

env:
NODE_VERSION: '16.13.2'

# pipeline to execute
jobs:
release:
Expand Down Expand Up @@ -42,7 +39,7 @@ jobs:
${{ runner.os }}-modules-v2-
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'

# ┌┐ ┬ ┬┬┬ ┌┬┐
# ├┴┐│ │││ ││
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Vela UI",
"author": "Vela Team",
"engines": {
"node": ">=16.13.0"
"node": ">=16.14.0"
},
"dependencies": {
"clipboard": "2.0.10"
Expand Down

0 comments on commit 103c3d6

Please sign in to comment.