Skip to content

Create azure-webapps-node.yml #1

Create azure-webapps-node.yml

Create azure-webapps-node.yml #1

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
- 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