got rid of chalk cause sux #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: Build and Store Artifact | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Install libs | |
| run: | | |
| npm install | |
| - name: Build project | |
| run: | | |
| npm run build | |
| - name: Move artifact | |
| run: | | |
| mkdir output | |
| mv dist/* output/ | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-output | |
| path: output/ |