Skip to content

chore(deps): update dependency semantic-release to v21.0.6 #42

chore(deps): update dependency semantic-release to v21.0.6

chore(deps): update dependency semantic-release to v21.0.6 #42

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Print GITHUB variables 🖨
run: npx @bahmutov/print-env GITHUB
- name: Install dependencies 📦
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v5
with:
runTests: false
- name: Set common status 🎬
run: |
node ./bin/set-gh-status --owner bahmutov --repo cypress-set-github-status \
--sha $GITHUB_SHA --status pending \
--context "Cypress E2E tests" --description "Running tests..."
env:
# this token is not tied to any repository
# and can be used to set the commit status in the repos I have access to
PERSONAL_GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
DEBUG: cypress-set-github-status
- name: Run tests 🧪
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v5
with:
install: false
env:
# this token is not tied to any repository
# and can be used to set the commit status in the repos I have access to
PERSONAL_GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
# update the common status after finishing the tests
COMMON_STATUS: 'Cypress E2E tests'
- name: Semantic Release 🚀
if: github.ref == 'refs/heads/main'
uses: cycjimmy/semantic-release-action@v3
with:
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}