Skip to content

Commit

Permalink
chore(ci): use the same node version for all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Feb 23, 2022
1 parent 9069e79 commit bd62682
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
tags:
- v[0-9]+.[0-9]+.[0-9]+

env:
NODE_VERSION: 14

concurrency:
group: deploy
cancel-in-progress: true
Expand All @@ -18,6 +21,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- uses: actions/cache@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Release

on: workflow_dispatch

env:
NODE_VERSION: 14

jobs:
release:
name: Release
Expand Down Expand Up @@ -32,6 +35,8 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- uses: actions/cache@v2
with:
Expand Down Expand Up @@ -73,6 +78,8 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- uses: actions/cache@v2
with:
Expand Down

0 comments on commit bd62682

Please sign in to comment.