Merge pull request #90 from fingerprintjs/chore/reset-branch #101
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: Release | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
release: | |
name: Release Version | |
runs-on: "ubuntu-latest" | |
environment: production | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' # See 'Supported distributions' for available options | |
java-version: '11' | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "7.3" | |
coverage: none | |
tools: composer:v2 | |
- name: Install Composer Dependencies | |
run: composer install -q --profile --ignore-platform-reqs --no-interaction --no-ansi --no-scripts --no-suggest --prefer-dist | |
- name: Install Yarn dependencies | |
run: yarn install --cwd=release | |
- name: Release | |
run: ./release/node_modules/.bin/semantic-release --extends ./release/.releaserc.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} | |
HUSKY: 0 |