deps: bump the major-dependencies group across 1 directory with 8 updates #236
Workflow file for this run
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: Pull Request Events | |
on: pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: β¬οΈ Set up code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: β Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
- name: π₯ Download dependencies | |
run: npm ci | |
- name: π§Ό Lint files | |
run: npm run lint | |
- name: ποΈ Build | |
run: npm run build | |
- name: β Check Typescript | |
run: npx tsc | |
test-unit: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: β¬οΈ Set up code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: β Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
- name: π₯ Download dependencies | |
run: npm ci | |
- name: π Run build script | |
run: npm run build | |
- name: π§ͺ Run tests | |
run: npm test | |
deploy-storybook: | |
name: π Deploy documentation | |
runs-on: ubuntu-latest | |
needs: [lint, test-unit] | |
if: ${{ github.event.sender.type == 'User' }} | |
permissions: | |
id-token: write | |
pull-requests: write | |
environment: | |
name: dev | |
steps: | |
- name: β¬οΈ Set up code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: β Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
- name: π Deploy | |
uses: agrc/firebase-website-deploy-composite-action@v1 | |
with: | |
identity-provider: ${{ secrets.IDENTITY_PROVIDER }} | |
service-account-email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }} | |
project-id: ${{ secrets.PROJECT_ID }} | |
preview: 'yes' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
prebuild-command: npm run build --workspace @ugrc/utilities && npm run build | |
build-command: npm run build:storybook | |
env: | |
VITE_QUAD_WORD: ${{ secrets.DISCOVER_QUAD_WORD }} |