Skip to content

chore: bump cypress version to 14.0.1, allure adapter to 3.2.3 #39

chore: bump cypress version to 14.0.1, allure adapter to 3.2.3

chore: bump cypress version to 14.0.1, allure adapter to 3.2.3 #39

Workflow file for this run

name: CI
permissions: write-all
on:
pull_request:
branches: [ "main" ]
create:
branches:
- 'update-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.0'
registry-url: 'https://registry.npmjs.org'
- name: Install Node
uses: volta-cli/action@v4
- name: Versions
run: |
node --version
npm --version
- name: Install
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: |
npm ci
- name: Update adapter
run: |
branch=${{ github.ref }}
echo "Branch: $branch"
npm ci
npm run update:adapter
echo "GIT DIFF"
git diff
echo "---"
- name: Update cypress
run: |
branch=${{ github.ref }}
echo "Branch: $branch"
npm run update:cypress
echo "GIT DIFF"
git diff
echo "---"
- name: Build TS
run: |
cd examples/cypress-ts
npm run build
- name: Update pages
run: |
npm run pages:update
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${{ github.head_ref }}
run: |
echo "Branch: $BRANCH_NAME"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git fetch origin $BRANCH_NAME
git checkout $BRANCH_NAME
git add .
git commit -m "chore: bump version to ${{ env.new_version }}"
git push origin $BRANCH_NAME