fix: resolve global styles from StylesWebpackPlugin
#447
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: single-spa-angular | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
# We also specify `~/.cache` because Cypress binary is installed | |
# in that location. | |
path: | | |
node_modules | |
~/.cache | |
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-yarn-v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
# Do not install dependencies again if checksum for the | |
# `yarn.lock` is the same. | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn --pure-lockfile --non-interactive --no-progress | |
- name: Run ESLint | |
run: yarn lint | |
- name: Run Jest | |
run: yarn test:ci | |
- name: Build packages | |
run: yarn build | |
- name: Build integration apps | |
run: yarn build:all | |
- name: Run end-to-end tests via Cypress | |
env: | |
NO_UPDATE_CHECK: 1 | |
run: yarn test:ci:integration |