build(deps-dev): bump npm-check-updates from 16.14.20 to 17.1.3 #981
This file contains 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: Continuous Delivery | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install pnpm package manager | |
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
- name: Set up Node.js version | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
- name: Install dependencies | |
run: | | |
pnpm install --frozen-lockfile | |
pnpm ls --recursive | |
- name: "Continuous Integration: lint" | |
run: pnpm run --if-present lint | |
- name: "Continuous Integration: build" | |
run: pnpm run --if-present build | |
- name: "Continuous Integration: test" | |
run: pnpm run --if-present test | |
- name: "Retain build artifacts" | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | |
with: | |
name: dist | |
path: dist/ | |
retention-days: 1 | |
publish-app: | |
runs-on: ubuntu-latest | |
needs: continuous-integration | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: "Restore build artifacts" | |
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 | |
with: | |
name: dist | |
path: dist/ | |
- name: Continuous Deployment to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@5c6e9e9f3672ce8fd37b9856193d2a537941e66c #v4.6.1 | |
with: | |
branch: gh-pages | |
folder: dist/my-app/ |