Supabase gallery image source #99
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: CI | |
on: | |
pull_request: | |
branches: [ new-home-page ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-20.04 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18.6.0 | |
- uses: actions/checkout@v1 | |
- run: npm install -g yarn | |
- run: cd .. | |
- run: yarn install --dev | |
- run: yarn stylelint pages components | |
name: 🎨 Linting the repo | |
- run: yarn build | |
name: 🏗️ Building the repo | |
- run: yarn test | |
name: 🔬 Testing the repo | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage-report | |
path: testres.json | |
- name: Uploading failing screenshots | |
if: ${{ !success() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: failing-screenshots | |
path: __screenshot-tests__/__image_snapshots__/__diff_output__ |