feat!: introduce breaking changes for version 4.0.0 #7
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: Alpha Dry-Run Release CI | |
on: | |
push: | |
branches: | |
- alpha-dry-run-release | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "20" | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
- run: npm ci | |
- name: Get last successful commit | |
uses: nrwl/nx-set-shas@v3 | |
id: last_successful_commit | |
with: | |
main-branch-name: alpha | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npx nx run-many --target=build --all --prod --exclude=angular,react,angular-tests,angular-tests-e2e | |
- name: Update Web components documentation | |
run: cp libs/web-components/README.md dist/libs/web-components | |
- name: Remove types file for now | |
run: rm dist/libs/web-components/index.d.ts | |
- name: Release Dry-Run (No CI) | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
npx nx run angular-components:release --base=angular-v3.2.2 -- --dry-run --no-ci --branch=alpha-dry-run-release | |
npx nx run react-components:release --base=react-v5.4.1 -- --dry-run --no-ci --branch=alpha-dry-run-release | |
npx nx run common:release --dry-run --no-ci --branch=alpha-dry-run-release |