Skip to content

Update azure-webapps-node.yml #3

Update azure-webapps-node.yml

Update azure-webapps-node.yml #3

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