Skip to content

Merge pull request #18 from Marcel0024/dependabot/npm_and_yarn/ip-1.1.9 #187

Merge pull request #18 from Marcel0024/dependabot/npm_and_yarn/ip-1.1.9

Merge pull request #18 from Marcel0024/dependabot/npm_and_yarn/ip-1.1.9 #187

on:
push:
branches:
- main
workflow_dispatch:
env:
AZURE_WEBAPP_NAME: papiamento-wordle
AZURE_WEBAPP_PACKAGE_PATH: "./dist/wordle-papiamento"
NODE_VERSION: "14.x"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- name: npm install, build, and test
run: |
npm install
npm run build
- name: "Deploy to Azure WebApp"
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}