Skip to content

Commit

Permalink
chore: bump pnpm and GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 13, 2023
1 parent cd61cc2 commit 3699d94
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 75 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@ jobs:
node:
- 16
- 18
- 20
os:
- macos-latest
- windows-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: 'CodeQL'
name: CodeQL

on:
push:
branches: ['main']
branches:
- main
pull_request:
branches: ['main']
branches:
- main
schedule:
- cron: '14 20 * * 2'

Expand All @@ -20,11 +22,12 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [javascript]
language:
- javascript

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js 16
uses: actions/setup-node@v3
- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*
cache: pnpm

- name: Install Dependencies
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ jobs:
size-limit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js 16
- name: Setup Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
cache: pnpm

- name: Install Dependencies
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "JounQin (https://www.1stG.me) <[email protected]>",
"funding": "https://opencollective.com/unts",
"license": "MIT",
"packageManager": "pnpm@8.6.6",
"packageManager": "pnpm@8.11.0",
"engines": {
"node": ">=16.0.0"
},
Expand Down Expand Up @@ -48,23 +48,23 @@
"wasm": "tinygo build -o main.wasm -target wasm --no-debug"
},
"dependencies": {
"tslib": "^2.6.0"
"tslib": "^2.6.2"
},
"devDependencies": {
"@1stg/lib-config": "^12.0.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/golang-wasm-exec": "^1.15.0",
"@types/mvdan-sh": "^0.10.2",
"@types/golang-wasm-exec": "^1.15.2",
"@types/mvdan-sh": "^0.10.9",
"@types/node": "^20.4.0",
"@types/web": "^0.0.103",
"@types/web": "^0.0.115",
"@vitest/coverage-istanbul": "^0.32.4",
"mitata": "^0.1.6",
"mvdan-sh": "^0.10.1",
"size-limit": "^8.2.6",
"size-limit-preset-node-lib": "^0.2.0",
"synckit": "^0.8.5",
"type-coverage": "^2.26.0",
"type-coverage": "^2.26.2",
"typescript": "^5.1.6",
"vitest": "^0.32.4"
},
Expand Down
Loading

0 comments on commit 3699d94

Please sign in to comment.