1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-21 11:36:25 -05:00

Update ci.yml

This commit is contained in:
Patrick Marsceill 2020-04-24 10:57:20 -04:00 committed by GitHub
parent db17dbac36
commit f3f3179644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,8 @@ jobs:
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:3.8.5 /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && jekyll build && bundle exec just-the-docs rake search:init"
css:
name: Build, Test, and Format
assets:
name: Format and test CSS and JS
runs-on: ubuntu-latest
steps:
@ -49,7 +49,6 @@ jobs:
id: extract_branch
- run: npm install
- run: npm test
- run: npm run format
- name: Add changed files
run: |
@ -69,3 +68,4 @@ jobs:
echo ${{ steps.is_dirty.outputs.status }}
git commit -m "🎨 Prettier"
git push --force --set-upstream "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${{ steps.extract_branch.outputs.branch }}
- run: npm test