Merge remote-tracking branch 'upstream/main' into development #1
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
# Copyright 2023 Signal Messenger, LLC | |
# SPDX-License-Identifier: AGPL-3.0-only | |
name: Stories | |
on: | |
push: | |
branches: | |
- development | |
- main | |
- '[0-9]+.[0-9]+.x' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest-8-cores | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: Install global dependencies | |
run: npm install -g [email protected] | |
- name: Install Desktop node_modules | |
run: npm ci | |
env: | |
CHILD_CONCURRENCY: 1 | |
NPM_CONFIG_LOGLEVEL: verbose | |
- run: npm run build:storybook | |
- run: npx playwright install chromium | |
- run: ./node_modules/.bin/run-p --race test:storybook:serve test:storybook:test |