Skip to content

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

Daily builds of monaco-typescript and monaco of TypeScript

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

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:
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
environment: blob-storage
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"
- name: Setup Monaco Editor
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: node ./publish-monaco-editor.js next
- name: 'Az CLI login'
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Upload to Azure
env:
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
run: node ./upload-assets-to-blob-storage.js next