File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 3737 uses : actions/setup-node@v6
3838 with :
3939 node-version : ${{ env.NODE_VERSION }}
40+ cache : npm
41+ cache-dependency-path : website/package-lock.json
42+
43+ - name : Install Node dependencies
44+ run : |
45+ npm install
46+ npm update @apify/docs-theme
47+ working-directory : ./website
48+
49+ # We do this as early as possible to prevent conflicts if someone else would push something in the meantime
50+ - name : Commit the updated package.json and lockfile
51+ run : |
52+ git config user.name 'GitHub Actions'
53+ git config user.email 'github-actions[bot]@users.noreply.github.com'
54+ git add website/package.json
55+ git add website/package-lock.json
56+ git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true
57+ git push
4058
4159 - name : Set up Python
4260 uses : actions/setup-python@v6
You can’t perform that action at this time.
0 commit comments