live-web-view.content: Added Alert. #127
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: Live Elements Web Build Matrix | |
| on: [push, pull_request] | |
| env: | |
| BUILD_TYPE: Release | |
| jobs: | |
| build: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-22.04] | |
| include: | |
| - os: ubuntu-22.04 | |
| NAME: ubuntu | |
| TARGET: x86_64-linux | |
| COMPILER: g++ | |
| LINKER: g++ | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '20.x' | |
| env: | |
| ARCHIVE_NAME: ${{ steps.get_archive_name.outputs.ARCHIVE_FILENAME }} | |
| - name: Install deps | |
| run: npm install | |
| - name: Publish | |
| if: startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'ubuntu-22.04') | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
| run: | | |
| cd packages/live-elements-core | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-elements-loader | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-elements-web | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-elements-web-cli | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-elements-web-server | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-testspec | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-web | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-web-edit | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public | |
| cd ../live-web-view | |
| echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc | |
| npm publish --access=public |