File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1717 uses : actions/setup-node@v4
1818 with :
1919 node-version : ${{ matrix.node-version }}
20+ cache : ' pnpm'
21+ - name : Cache NPM dependencies
22+ uses : actions/cache@v4
23+ id : cache
24+ with :
25+ path : node_modules
26+ key : ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
2027 - run : pnpm run bootstrap
2128 - run : pnpm run lint
2229 - run : pnpm run build
Original file line number Diff line number Diff line change 2727 id : cache
2828 with :
2929 path : node_modules
30- key : ${{ runner.os }}-node -${{ hashFiles('pnpm-lock.yaml') }}
30+ key : ${{ runner.os }}-pnpm -${{ hashFiles('pnpm-lock.yaml') }}
3131 - name : Set relevant environment variables
3232 run : |
3333 if [[ ${{ github.event.inputs.includeNext }} == 'true' ]]; then
Original file line number Diff line number Diff line change 2323 id : cache
2424 with :
2525 path : node_modules
26- key : ${{ runner.os }}-node -${{ hashFiles('pnpm-lock.yaml') }}
26+ key : ${{ runner.os }}-pnpm -${{ hashFiles('pnpm-lock.yaml') }}
2727 - run : pnpm run bootstrap
2828 - name : Create Release Pull Request or Publish to npm
2929 id : changesets
Original file line number Diff line number Diff line change 2626 id : cache
2727 with :
2828 path : node_modules
29- key : ${{ runner.os }}-node -${{ hashFiles('pnpm-lock.yaml') }}
29+ key : ${{ runner.os }}-pnpm -${{ hashFiles('pnpm-lock.yaml') }}
3030 - run : pnpm run bootstrap
3131 - run : pnpm --filter "!colony-js" run build
3232 - run : pnpm --filter "sdk" run build-examples
You can’t perform that action at this time.
0 commit comments