Skip to content

Issue 1534: disabling element if no collapsing locators #184

Issue 1534: disabling element if no collapsing locators

Issue 1534: disabling element if no collapsing locators #184

Workflow file for this run

name: Release branch version
on:
pull_request:
branches:
- master
types: [closed]
jobs:
build:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release_')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# TODO: try to use .lock file, npm ci and cache for speedup
- name: npm install, build
run: |
npm install
npm run build
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: Archive production artifacts
uses: thedoctor0/zip-release@master
with:
filename: "${{ steps.package-version.outputs.current-version}}.zip"
path: dist
- name: Release version
uses: ncipollo/release-action@v1
with:
name: "Release ${{ steps.package-version.outputs.current-version}}"
tag: ${{ steps.package-version.outputs.current-version}}
prerelease: false
artifacts: "${{ steps.package-version.outputs.current-version}}.zip"
replacesArtifacts: false
token: ${{ secrets.GITHUB_TOKEN }}
# - name: Microsoft Teams Notification
# uses: skitionek/notify-microsoft-teams@master
# with:
# webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
# raw: >-
# {
# "@type": "MessageCard",
# "@context": "http://schema.org/extensions",
# "title": "NEW release ${{ steps.package-version.outputs.current-version }} arrived",
# "text": "Approve or discard new release ${{ steps.package-version.outputs.current-version }} draft at https://github.com/jdi-testing/jdn/releases"
# }