From f27bf74775b67cab2a92b2a5d9663cff0c97cd7b Mon Sep 17 00:00:00 2001 From: Paul Hachmang Date: Fri, 19 Jun 2020 14:40:30 +0200 Subject: [PATCH] chore: update prettier formatting --- .github/workflows/release.yml | 32 ++++++++++++++++---------------- README.md | 1 - package.json | 18 +++++++++--------- 3 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed5b93c..9505ea6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,19 +1,19 @@ name: Release on: - push: - branches: - - master + push: + branches: + - master jobs: - release: - name: Release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - run: yarn --frozen-lockfile - - run: yarn semantic-release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_BACKEND }} + release: + name: Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: yarn --frozen-lockfile + - run: yarn semantic-release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_BACKEND }} diff --git a/README.md b/README.md index bdc4e76..753f973 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,3 @@ Commits are validated with https://github.com/conventional-changelog/commitlint Gittower: Gittower doesn't properly read your PATH variable and thus commit validation doesn't work. Use `gittower .` to open this repo. - diff --git a/package.json b/package.json index 4acf21c..adf2d0d 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "@reach-digital/magento2-inventory-source-reservations", + "private": true, + "publishConfig": { + "access": "restricted" + }, "repository": { "type": "git", "url": "git@github.com:ho-nl/magento2-ReachDigital_InventorySourceReservations.git" }, "author": "Paul Hachmang ", - "private": true, - "publishConfig": { - "access": "restricted" - }, "devDependencies": { "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", @@ -17,6 +17,11 @@ "semantic-release": "^17.0.8", "semantic-release-slack-bot": "^1.6.2" }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" @@ -86,10 +91,5 @@ "name": "master" } ] - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] } }