Skip to content

Commit

Permalink
Create azure-webapps-node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsMeRomian authored Feb 25, 2024
1 parent d67e83c commit 66a9f98
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/azure-webapps-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit 66a9f98

Please sign in to comment.