Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/generate-yarn-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Generate yarn.lock

on:
workflow_dispatch:
pull_request:
paths:
- package-lock.json
- package.json

jobs:
yarn-lock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Generate yarn.lock from package-lock
run: |
git config --global url."https://github.com/".insteadOf git://github.com/
npx yarn@1.22.22 import || npx yarn@1.22.22 install --ignore-scripts
- name: Upload yarn.lock artifact
uses: actions/upload-artifact@v4
with:
name: yarn-lock
path: yarn.lock
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.env*
package-lock.json
*.pem
.env
clevis.json
Expand Down
Loading