Skip to content

Commit

Permalink
Set yarn version
Browse files Browse the repository at this point in the history
  • Loading branch information
paularintaharri committed Apr 17, 2024
1 parent 6618b3b commit 41fdb78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ env:
AZURE_WEBAPP_NAME: pos-backend-staging # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: 'dist' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '18.x' # set this to the node version to use
YARN_VERSION: '1.22.22' # set this to the desired Yarn version

jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install latest Yarn
run: npm install -g yarn
- name: Print Yarn version
run: yarn --version
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
yarn-version: ${{ env.YARN_VERSION }}
- name: Print Yarn version
run: yarn --version
- name: yarn install and build
run: |
# Build and test the project, then
Expand Down

0 comments on commit 41fdb78

Please sign in to comment.