Skip to content

build: bump decode-uri-component from 0.2.0 to 0.2.2 #124

build: bump decode-uri-component from 0.2.0 to 0.2.2

build: bump decode-uri-component from 0.2.0 to 0.2.2 #124

Workflow file for this run

on:
push:
branches:
- master
pull_request_target:
branches:
- master
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- name: Decide the ref to check out
uses: haya14busa/action-cond@v1
id: condval
with:
cond: ${{ github.event_name == 'pull_request_target' }}
if_true: refs/pull/${{ github.event.pull_request.number }}/merge
if_false: ${{ github.ref }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ steps.condval.outputs.value }}
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.SIGNING_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: |
./mvnw -V -B verify
npm ci
npx semantic-release
env:
MAVEN_USERNAME: eller86
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}