gh-actions: Update checkout and upload #7
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: Static Web App Build CI | |
| on: | |
| push: | |
| branches: | |
| - framework16* | |
| repository_dispatch: | |
| types: [definition_update] | |
| jobs: | |
| build_and_deploy_job: | |
| runs-on: ubuntu-latest | |
| name: Build and Upload Job | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - run: npm ci | |
| - name: Build and tar | |
| run: | | |
| npm run build:azure | |
| tar caf framework_via_app.tar.gz dist/ | |
| - name: Upload | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| path: framework_via_app.tar.gz |