Skip to content

Commit

Permalink
add matrix node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshurajora committed Jan 4, 2024
1 parent a1d92c7 commit b7dbaac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- name: Checkout files
uses: actions/checkout@v4
- name: Use Node.js 12.10.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 12.10.0
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i && npm run build
# now deploy to firebase
Expand All @@ -25,5 +25,5 @@ jobs:
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_TOKEN }}'
projectId: lookingforcontributors
projectId: sharemytext
channelId: live
4 changes: 2 additions & 2 deletions .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- name: Checkout files
uses: actions/checkout@v4
- name: Use Node.js 12.10.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 12.10.0
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i && npm run build
# now deploy to firebase
Expand Down

0 comments on commit b7dbaac

Please sign in to comment.