mirror of
https://github.com/thangisme/notes.git
synced 2024-12-21 22:16:28 -05:00
Update ci.yml
This commit is contained in:
parent
db17dbac36
commit
f3f3179644
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user