mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Chore: Fix yarn install error & bump actions
This commit is contained in:
parent
8c845b7e97
commit
1ba1f91a71
3 changed files with 11 additions and 6 deletions
11
.github/actions/node-setup/action.yml
vendored
11
.github/actions/node-setup/action.yml
vendored
|
|
@ -1,18 +1,23 @@
|
|||
name: "Setup"
|
||||
description: "Yarn cache action"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Corepack enable
|
||||
run: corepack enable
|
||||
shell: bash
|
||||
|
||||
# https://github.com/actions/cache/blob/main/examples.md#node---yarn
|
||||
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Node cache
|
||||
id: node-cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
|
|
@ -22,5 +27,5 @@ runs:
|
|||
${{ runner.os }}-node-
|
||||
|
||||
- name: Package Install
|
||||
run: yarn install
|
||||
run: yarn install --immutable
|
||||
shell: bash
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/node-setup
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
sync-branches:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
name: "ESR-Lepton-Proton-Style"
|
||||
branch: "proton-style"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue