Release/v8.7.0 #101
Workflow file for this run
This file contains 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: Build Web on PRs | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run npm install SDK | |
run: | | |
npm i -g corepack | |
npm ci | |
- name: Run npm install example | |
working-directory: example | |
run: npm ci | |
- name: Build Web example | |
working-directory: example | |
run: npm run web-release | |
- name: Save WEB to artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: web-release | |
path: example/dist | |
retention-days: 3 |