Custom Store Updater #62
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: build and test | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: main | |
| permissions: | |
| contents: read | |
| jobs: | |
| bnt: | |
| name: ${{ matrix.example }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| example: | |
| - ./examples/vite-react | |
| - ./examples/parcel-react | |
| - ./examples/tests-rtl | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: npm install in starfx root | |
| run: npm install | |
| - name: build starfx | |
| run: npm run build | |
| - name: npm install (uses built starfx) | |
| working-directory: ${{ matrix.example }} | |
| run: npm install | |
| - name: test | |
| working-directory: ${{ matrix.example }} | |
| run: npm run test --if-present | |
| - name: build | |
| working-directory: ${{ matrix.example }} | |
| run: npm run build --if-present |