CSS Modules: convert remaining activity components to CSS modules (#5… #495
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: playground | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/playground.yaml | |
| - packages/** | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checking out for ${{ github.ref }} | |
| uses: actions/checkout@v2 | |
| - run: npm clean-install --ignore-scripts | |
| - run: | | |
| npm run build | |
| cd packages/playground | |
| npm run build | |
| mkdir wwwroot | |
| mv build wwwroot | |
| cp host/* wwwroot | |
| cd wwwroot | |
| npm ci | |
| zip -1rq ../build.zip . | |
| env: | |
| NODE_ENV: production | |
| - uses: actions/upload-artifact@v2 | |
| with: | |
| name: wwwroot | |
| path: packages/playground/build.zip | |
| - id: deploy | |
| uses: azure/[email protected] | |
| with: | |
| app-name: webchat-playground | |
| slot-name: production | |
| publish-profile: ${{ secrets.PLAYGROUND_PUBLISH_PROFILE }} | |
| package: packages/playground/build.zip | |
| - name: Ping deployment | |
| run: | | |
| sleep 15 | |
| curl -s ${{ steps.deploy.outputs.webapp-url }} |