feat: upgrade to Angular 18 #805
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: '@ngxs-labs/emitter' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --no-tags --prune --depth 2 origin master | |
- uses: actions/cache@v4 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ~/.cache # Default cache directory for both Yarn and Cypress | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: yarn --immutable | |
- run: yarn nx affected:lint --parallel --base=origin/master | |
- run: yarn nx affected:test --parallel --base=origin/master --configuration ci | |
- run: yarn nx affected:build --base=origin/master | |
# - run: yarn nx affected:e2e --base=origin/master | |
# env: | |
# ELECTRON_EXTRA_LAUNCH_ARGS: '--disable-gpu' |