Skip to content

Commit

Permalink
Feat: Update action versions (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolassanmar committed Jul 10, 2024
1 parent aacb20f commit cd0f031
Show file tree
Hide file tree
Showing 2 changed files with 3,041 additions and 3,796 deletions.
27 changes: 5 additions & 22 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,17 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

# from https://github.com/pnpm/action-setup
- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
- name: Install node, pnpm and packages
uses: aerialops/ci-actions/pnpm-with-cached-modules@main
with:
version: 8.15.7
run_install: false
node_version: 20.x

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install
- run: pnpm run prettier
- run: pnpm run lint
- run: pnpm run typecheck
Expand Down
Loading

0 comments on commit cd0f031

Please sign in to comment.