chore: Ship v2.18.0 for Angular 18 #35
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: Project check | |
on: | |
push: | |
branches: | |
- master | |
- v2 | |
pull_request: | |
branches: | |
- master | |
- v2 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: project check | |
run: | | |
npm i | |
npm run build-lib:prod | |
npm run test-lib:prod | |
# npm run lint | |
env: | |
CI: true | |
e2e-chrome: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm i | |
- name: e2e chrome test | |
uses: cypress-io/github-action@v6 | |
timeout-minutes: 5 | |
with: | |
browser: chrome | |
build: npm run build-lib:prod | |
start: npm start | |
wait-on: 'http://localhost:4200' | |
env: | |
BROWSER: chrome |