Skip to content

Commit

Permalink
Use Node 16 in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtrah committed Aug 16, 2023
1 parent 901f6fc commit f2f409d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Yarn Installation
run: |
mkdir ~/.npm-global
Expand All @@ -16,17 +24,14 @@ jobs:
source ~/.profile
npm install -g yarn
- name: Checkout Repo
uses: actions/checkout@master

- name: Install Dependencies
run: yarn install

- name: Build
run: yarn build

- name: Archive Production Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: build/
Expand All @@ -37,10 +42,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: build
path: build
Expand Down

0 comments on commit f2f409d

Please sign in to comment.