chore(deps): update package-lock.json #103
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [16.x, 18.x, 20.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Clean npm cache | |
| run: npm cache clean --force | |
| - name: Install with npm (flash-install not published yet) | |
| run: npm ci --no-audit --force | |
| - name: Build | |
| run: npm run build | |
| # Note: Flash Install snapshot would be used when published | |
| # - name: Create flash-install snapshot | |
| # run: npx flash-install snapshot | |
| # continue-on-error: true | |
| - name: Test | |
| run: npm test | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18.x' | |
| - name: Clean npm cache | |
| run: npm cache clean --force | |
| - name: Install dependencies | |
| run: npm ci --no-audit --force | |
| - name: Lint | |
| run: npm run lint |