diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index fdba0020..76a8b663 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -25,16 +25,12 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Find yarn cache - id: yarn-cache-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - - name: Restore cache - uses: actions/cache@v2 + - name: Setup Node + uses: actions/setup-node@v2 with: - path: ${{ steps.yarn-cache-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: ${{ runner.os }}-yarn- + node-version: 18.x + cache: yarn + cache-dependency-path: front/yarn.lock - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index f1780ab9..bc8cb5a7 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 18.x cache: yarn cache-dependency-path: front/yarn.lock diff --git a/.github/workflows/native-update.yml b/.github/workflows/native-update.yml index 640a529b..76b63e50 100644 --- a/.github/workflows/native-update.yml +++ b/.github/workflows/native-update.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 18.x cache: yarn cache-dependency-path: front/yarn.lock