Update azure-webapps-node.yml #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - name: Set up Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 20 | |
# cache: 'npm' | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3.0.0 | |
with: | |
version: 8 | |
- name: install & build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Upload artifact for deployment job | |
uses: actions/upload-artifact@v3 | |
with: | |
name: node-app | |
path: ./.output |