Skip to content

Commit 6900a74

Browse files
committed
Update version grabber
1 parent d5219ce commit 6900a74

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- name: Checkout Repo
1919
uses: actions/checkout@master
20-
- name: Set up Node (12)
20+
- name: Set up Node (14)
2121
uses: actions/setup-node@v2
2222
with:
23-
node-version: 12.x
23+
node-version: 14.x
2424
- name: install Chrome stable
2525
run: |
2626
sudo apt-get update

.github/workflows/release-staging.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,12 @@ jobs:
121121
VERSION_SCRIPT="const pkg = require('./packages/firebase/package.json'); console.log(pkg.version);"
122122
VERSION=`node -e "${VERSION_SCRIPT}"`
123123
echo "::set-output name=STAGING_VERSION::$VERSION"
124-
BASE_VERSION=$(echo ${{ steps.get-version.outputs.STAGING_VERSION }} | cut -d "-" -f 1)
124+
BASE_VERSION=$(echo $VERSION | cut -d "-" -f 1)
125125
echo "::set-output name=BASE_VERSION::$BASE_VERSION"
126-
- name: Echo version in shell
126+
- name: Echo versions in shell
127127
run: |
128128
echo "Staging release ${{ steps.get-version.outputs.STAGING_VERSION }}"
129+
echo "Base version: ${{ steps.get-version.outputs.BASE_VERSION }}"
129130
- name: Launch E2E tests workflow
130131
# Trigger e2e-test.yml
131132
run: |

0 commit comments

Comments
 (0)