chore(deps): bump vue from 2.6.14 to 3.0.0 in /packages/web-components/src/stories/astro-sandboxes/forms/vue/basic #3795
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: Pull Request Actions | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [ready_for_review, opened, synchronize] | |
branches: [main, next] | |
workflow_dispatch: | |
permissions: | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
jobs: | |
setup: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
# timeout-minutes: 8 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/[email protected] | |
- name: Cache node modules | |
id: cache-node-modules | |
uses: actions/cache@v3 | |
with: | |
path: | | |
./packages/web-components/node_modules | |
./packages/web-components/dist | |
key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
- name: Install Dependencies | |
run: npm ci && cd ./packages/web-components && npx playwright install --with-deps | |
- name: Build | |
run: npm run build | |
e2e: | |
needs: setup | |
runs-on: ubuntu-latest | |
timeout-minutes: 7 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/[email protected] | |
- name: Get Cache | |
uses: actions/cache@v3 | |
id: get-cache | |
with: | |
path: | | |
./packages/web-components/node_modules | |
./packages/web-components/dist | |
key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
- name: e2e Tests | |
run: npm run test.e2e.ci | |
working-directory: ./packages/web-components | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: packages/web-components/playwright-report/ | |
retention-days: 30 | |
VRTs: | |
needs: setup | |
runs-on: ubuntu-latest | |
timeout-minutes: 7 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/[email protected] | |
- name: Get Cache | |
uses: actions/cache@v3 | |
id: get-cache | |
with: | |
path: | | |
./packages/web-components/node_modules | |
./packages/web-components/dist | |
key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
- name: Run VRTs | |
run: npm run test.vrt | |
working-directory: ./packages/web-components | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: packages/web-components/playwright-report/ | |
retention-days: 30 |