Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Commit

Permalink
fix: lock file maintenance (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sebastian Landwehr <info@dword-design.de>
Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
4 people committed Mar 31, 2021
1 parent ebd1921 commit af6efa5
Show file tree
Hide file tree
Showing 9 changed files with 1,050 additions and 1,631 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* text=auto eol=lf
*.glb filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
11 changes: 11 additions & 0 deletions .github/DEPRECATED_DEPENDENCIES_ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Deprecated dependencies
labels: maintenance
---
The following dependencies are deprecated:

{% for dependency in env.DEPRECATED.split(',') %}
- **{{ dependency }}**
{% endfor %}

Check out the [build]({{ env.RUN_URL }}) for details.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
- uses: actions/checkout@v2
with:
lfs: true
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.head.ref || '' }}
- uses: actions/setup-node@v2
with:
node-version: 12
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- run: yarn checkUnknownFiles
- run: yarn lint
- env:
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
Expand Down Expand Up @@ -48,7 +51,6 @@ jobs:
uses: actions/upload-artifact@v2
with:
path: "**/__image_snapshots__/__diff_output__"
- run: yarn checkUnknownFiles
- if: matrix.os == 'ubuntu-latest' && matrix.node == 12
uses: codecov/codecov-action@v1
with:
Expand All @@ -70,6 +72,7 @@ jobs:
- ubuntu-latest
name: build
on:
pull_request: {}
push:
branches:
- "**"
- master
30 changes: 30 additions & 0 deletions .github/workflows/deprecated-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- continue-on-error: true
id: check-deprecated-js-deps
uses: tinovyatkin/action-check-deprecated-js-deps@v1
- env:
DEPRECATED: ${{ steps.check-deprecated-js-deps.outputs.deprecated }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
id: create-deprecation-issue
if: ${{ steps.check-deprecated-js-deps.outputs.deprecated }}
uses: JasonEtco/create-an-issue@v2
with:
filename: .github/DEPRECATED_DEPENDENCIES_ISSUE_TEMPLATE.md
update_existing: true
- if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated &&
steps.create-deprecation-issue.outputs.number }}
uses: peter-evans/close-issue@v1
with:
comment: Auto-closing the issue
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
name: deprecated-dependencies
on:
schedule:
- cron: 0 5 * * MON
4 changes: 3 additions & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM gitpod/workspace-full:latest
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
RUN sudo apt-get install git-lfs
RUN git lfs install
RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
RUN yarn global add @babel/core @babel/node

# Puppeteer dependencies
RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1 libxshmfence1
RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1 libxshmfence1
11 changes: 7 additions & 4 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
"extends": [
":semanticCommits"
],
"ignorePaths": [
".github/workflows/build.yml"
],
"labels": [
"maintenance"
],
"semanticCommitScope": null,
"lockFileMaintenance": {
"enabled": true
},
"packageRules": [
{
"packagePatterns": [
Expand All @@ -23,7 +28,5 @@
"semanticCommitType": "fix"
}
],
"lockFileMaintenance": {
"enabled": true
}
"semanticCommitScope": null
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $ yarn add @dword-design/atomizer-plugin-autoprefixer
<!-- LICENSE/ -->
## Contribute

Are you missing something or want to contribute? Feel free to file an [issue](https://github.com/dword-design/atomizer-plugin-autoprefixer/issues) or [pull request](https://github.com/dword-design/atomizer-plugin-autoprefixer/pulls)! ⚙️
Are you missing something or want to contribute? Feel free to file an [issue](https://github.com/dword-design/atomizer-plugin-autoprefixer/issues) or a [pull request](https://github.com/dword-design/atomizer-plugin-autoprefixer/pulls)! ⚙️

## Support

Expand Down
1 change: 1 addition & 0 deletions src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
}
`
)

const nuxt = new Nuxt({
atomizer: {
plugins: [plugin],
Expand Down
Loading

0 comments on commit af6efa5

Please sign in to comment.