Skip to content

Bump postcss from 8.4.21 to 8.4.31 in /verif #2445

Bump postcss from 8.4.21 to 8.4.31 in /verif

Bump postcss from 8.4.21 to 8.4.31 in /verif #2445

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
typecheck:
runs-on: ubuntu-latest-16-cores
outputs:
url: ${{ steps.waitFor200.outputs.url }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn build
test-functions:
runs-on: ubuntu-latest-16-cores
defaults:
run:
working-directory: functions
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn build
- run: yarn test
env:
FIREBASE_TEST_SERVICE_ACCOUNT: '${{ secrets.FIREBASE_TEST_SERVICE_ACCOUNT }}'
test-core:
runs-on: ubuntu-latest-16-cores
defaults:
run:
working-directory: packages/@collabkit/core
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn test
test-client:
runs-on: ubuntu-latest-16-cores
defaults:
run:
working-directory: packages/@collabkit/client
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn test
env:
FIREBASE_TEST_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_TEST_SERVICE_ACCOUNT }}
vercel-demo:
runs-on: ubuntu-latest-16-cores
outputs:
url: ${{ steps.waitFor200.outputs.url }}
steps:
- name: Wait for Vercel Preview Test
uses: meetcshah19/wait-for-vercel-preview@test18
id: waitFor200
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 180
check_interval: 5
regex: 'collabkit-demo$'
vercel-ladle:
runs-on: ubuntu-latest-16-cores
outputs:
url: ${{ steps.waitFor200.outputs.url }}
steps:
- name: Wait for Vercel Preview Collabkit
uses: meetcshah19/wait-for-vercel-preview@prod
id: waitFor200
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 180
check_interval: 5
regex: 'collabkit-react-ladle'
test-e2e:
needs: [vercel-demo, vercel-ladle]
timeout-minutes: 60
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: echo ${{needs.vercel-demo.outputs.url}} && echo ${{needs.vercel-ladle.outputs.url}}
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Run Playwright tests
run: PREVIEW_URL_DEMO=${{needs.vercel-demo.outputs.url}} PREVIEW_URL_LADLE=${{needs.vercel-ladle.outputs.url}} yarn playwright test ./e2e
working-directory: packages/@collabkit/react
env:
FIREBASE_TEST_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_TEST_SERVICE_ACCOUNT }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30