Skip to content

Commit

Permalink
update and fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samualtnorman committed Mar 20, 2024
1 parent cc825f3 commit c3e7203
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 88 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/lint.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- { name: Checkout, uses: actions/checkout@v3.5.3 }
- { name: Setup Node.js environment, uses: actions/setup-node@v3.8.1, with: { node-version: 18.x } }
- { name: Setup pnpm, uses: pnpm/action-setup@v2.4.0, with: { version: 8.6.x, run_install: true } }
- { name: Checkout, uses: actions/checkout@v4 }
- { name: Setup Node.js environment, uses: actions/setup-node@v4, with: { node-version: ^18 } }
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^8.15.5, run_install: true } }
- run: git config --global user.email github-action@users.noreply.github.com
- run: git config --global user.name "Github Action"
- run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- { name: Checkout, uses: actions/checkout@v3.5.3 }
- { name: Setup Node.js environment, uses: actions/setup-node@v3.8.1, with: { node-version: 18.x } }
- { name: Setup pnpm, uses: pnpm/action-setup@v2.4.0, with: { version: 8.6.x, run_install: true } }
- run: pnpm test
- { name: Checkout, uses: actions/checkout@v4 }
- { name: Setup Node.js environment, uses: actions/setup-node@v4, with: { node-version: ^18 } }
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^8.15.5, run_install: true } }
- run: pnpm lint
- run: pnpm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "rollup --config",
"dev": "pnpm build --watch",
"emit-declarations": "tsc --project src --declaration --emitDeclarationOnly --noEmit false --outDir dist",
"package": "rm -rf dist && pnpm build && pnpm emit-declarations && scripts/build-package-json.js && cp LICENSE README.md dist",
"package": "rm -rf dist && pnpm build && pnpm emit-declarations && scripts/emit-package-json.js && cp LICENSE README.md dist",
"update": "pnpm update --latest !@types/node && pnpm update @types/node",
"test": "vitest run --coverage",
"push-script": "hsm push game-scripts \"*.binmat\""
Expand Down

0 comments on commit c3e7203

Please sign in to comment.