WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[ES] Update Community/Video series/lazer updates (#14042) #3805

[ES] Update Community/Video series/lazer updates (#14042)

[ES] Update Community/Video series/lazer updates (#14042) #3805

Workflow file for this run

name: refresh node_modules cache
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
cache-node-modules:
name: update cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# meta/remark contains linked packages
sparse-checkout: meta/remark
- name: set up Node.js
id: setup-node
uses: actions/setup-node@v4
with:
cache: npm
node-version: 20
- name: check node_modules cache
id: cache-node-modules
uses: actions/cache/restore@v4
with:
path: node_modules
lookup-only: true
key: node-modules-${{ hashFiles('package-lock.json') }}-${{ steps.setup-node.outputs.node-version }}
- name: "if cache is outdated: install node_modules"
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
run: npm ci
- name: "if cache is outdated: save cache"
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v4
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}-${{ steps.setup-node.outputs.node-version }}