Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/workflows/staging_com-keyman-staging-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,29 @@ jobs:
- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: '20.x'
node-version: '22.x'

- name: npm install, build, and test
- name: npm ci + build - public
run: |
npm install
npm run build --if-present
npm run test --if-present
echo "- Building public for release"
cd public
npm ci
./node_modules/.bin/ng build --configuration production
cd ..

- name: npm ci + build - server
run: |
echo "- Building server for release"
cd server
npm ci
./node_modules/.bin/tsc
cd ..

- name: server test
run: |
cd server
npx mocha --import=./_mocha_register.js
cd ..

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
Expand Down