chore(deps): update all non-major dependencies - autoclosed #857
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
Continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 | |
- name: Use Node.js | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 | |
with: | |
node-version: 16 | |
- name: Restore CI Cache | |
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 | |
id: cache-restore | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies if Cache Miss | |
if: ${{ !steps.cache-restore.outputs.cache-hit }} | |
run: yarn --immutable | |
- name: Check Liniting | |
run: yarn lint | |
- name: Run Tests | |
if: ${{ github.event_name == 'push' }} | |
env: | |
VITE_CLIENT_ID: '${{ secrets.CLIENT_ID }}' | |
VITE_CLIENT_SECRET: '${{ secrets.CLIENT_SECRET }}' | |
run: yarn test | |
- name: Build Code | |
run: yarn build |