diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33884834..6091f7de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,15 +5,29 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v1 - - name: Vale - uses: ./ # Uses an action in the root directory - with: - styles: | - https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip - https://github.com/errata-ai/Joblint/releases/latest/download/Joblint.zip - config: - https://gist.githubusercontent.com/jdkato/171186055d382c6065273fe5a7eeeb61/raw/c6832996f5c77002142df70a3aa2be521fe747a7/.vale.ini - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Checkout + uses: actions/checkout@v1 + - name: Vale + uses: ./ # Uses an action in the root directory + with: + styles: | + https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip + https://github.com/errata-ai/Joblint/releases/latest/download/Joblint.zip + config: https://gist.githubusercontent.com/jdkato/171186055d382c6065273fe5a7eeeb61/raw/c6832996f5c77002142df70a3aa2be521fe747a7/.vale.ini + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Vale + uses: errata-ai/vale-action@v1.3.0 + with: + styles: | + https://github.com/errata-ai/Microsoft/releases/latest/download/Microsoft.zip + https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package-lock.json b/package-lock.json index be03a605..a1f7b5a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4759,9 +4759,9 @@ "dev": true }, "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", "dev": true }, "yargs": {