Skip to content

chore: adding rspack build to examples #46 (#47) #50

chore: adding rspack build to examples #46 (#47)

chore: adding rspack build to examples #46 (#47) #50

Workflow file for this run

name: CI Build and Release
on:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: 'Setting up node'
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run build --workspaces --if-present
- run: npm run test:unit --workspaces --if-present
- run: npm run test:integration --workspaces --if-present
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/rollup-plugin-module-federation && npx semantic-release
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/examples/project-a/playwright-report/
retention-days: 30