-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more event cleanup and ci troubleshooting
- Loading branch information
Showing
2 changed files
with
6 additions
and
57 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,57 +10,10 @@ jobs: | |
# https://github.com/chef/github-workflows/blob/main/.github/workflows/yaml-lint.yml | ||
yaml-lint: | ||
uses: ./.github/workflows/yaml-lint.yml | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v1 | ||
- name: Read .nvmrc | ||
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | ||
id: nvm | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- run: npm install --dev | ||
- run: npm run test:coverage | ||
- name: upload junit | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: junit | ||
path: junit.xml | ||
- uses: ashley-taylor/[email protected] | ||
if: always() | ||
with: | ||
access-token: ${{ secrets.GITHUB_TOKEN }} | ||
path: junit.xml | ||
- name: upload code coverage | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: Report-CodeCoverage | ||
path: coverage | ||
|
||
- run: npm install -g markdownlint-cli | ||
- run: markdownlint src --disable MD001 MD013 MD033 MD045 MD026 MD041 | ||
- run: npm run build | ||
- name: build _site | ||
run: | | ||
npm run build | ||
# - name: upload _site | ||
# uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: _site | ||
# path: _site | ||
pr-check: | ||
if: always() | ||
needs: | ||
- yaml-lint | ||
- build | ||
runs-on: Ubuntu-latest | ||
steps: | ||
- name: Decide whether the needed jobs succeeded or failed | ||
|
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