Skip to content

Daily builds of monaco-typescript and monaco of TypeScript #1089

Daily builds of monaco-typescript and monaco of TypeScript

Daily builds of monaco-typescript and monaco of TypeScript #1089

Workflow file for this run

name: Daily builds of monaco-typescript and monaco of TypeScript
# For testing
# on: push
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
# Lets us use one-liner JSON manipulations on package.jsons
- run: "npm install -g json"
# For Azure uploads
- run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
- name: Setup Monaco Editor
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: node ./publish-monaco-editor.js next
- name: Upload to Azure
env:
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
run: node ./upload-assets-to-blob-storage.js next
# - name: Send a message to Microsoft Teams
# if: ${{ failure() }}
# uses: aliencube/microsoft-teams-actions@v0.8.0
# with:
# webhook_uri: ${{ secrets.TEAMS_WEB_BOT_INCOMING_URL }}
# title: "PR Playground Build Nightly Failed"
# summary: Could not build the nightly playground
# text: Could not build the nightly playground
# actions: '[{ "@type": "OpenUri", "name": "View Logs", "targets": [{ "os": "default", "uri": "https://github.com/microsoft/TypeScript-Make-Monaco-Builds/actions/runs/${{ github.run_id }}?check_suite_focus=true" }, { "@type": "OpenUri", "name": "Troubleshooting ", "targets": [{ "os": "default", "uri": "https://github.com/microsoft/TypeScript-Make-Monaco-Builds#troubleshooting" }] }] }]'