build(deps-dev): bump node-forge from 1.3.1 to 1.3.2 #636
Workflow file for this run
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 Configure | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js 18 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - run: npm ci | |
| - name: build | |
| run: npx webpack --mode=production | |
| env: | |
| PUBLIC_PATH: '/AncientBeast/' | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: deploy | |
| path: deploy | |
| test: | |
| runs-on: ubuntu-22.04 | |
| needs: build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Use Node.js 18 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 18 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint code | |
| run: npm run lint | |
| - name: Build for testing | |
| run: npm run build:dev | |
| - name: Run tests | |
| run: npm test | |
| deploy: | |
| runs-on: ubuntu-22.04 | |
| needs: test | |
| steps: | |
| - name: Deploy completed | |
| run: echo "Deploy completed" |