From 4e5f2d6af5bce1fb54e13174c667acac2c3499a1 Mon Sep 17 00:00:00 2001 From: Pedr Date: Tue, 30 Jul 2024 15:06:20 +0100 Subject: [PATCH] chore: Change step order --- .github/workflows/release.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 320dd7b..8bcfb9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,15 +31,15 @@ jobs: - name: Install dependencies run: pnpm install + - name: Build + run: pnpm run build + - name: Lint run: pnpm run lint - name: Test run: pnpm run test - - name: Build - run: pnpm run build - - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 9bca864..b7972cc 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "prepare": "husky", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js ./tests", "test-watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js ./tests --watchAll", - "test-snapshot": "node ./tests/snapshotData", + "test-snapshot": " node ./tests/snapshotData", "lint": "pnpm run lint-prettier && pnpm run lint-eslint", "lint-prettier": "prettier . --write", "lint-eslint": "eslint './**/*.{js,jsx,cjs}'",