Skip to content

Commit

Permalink
chore: bump actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 6, 2023
1 parent a6f40cb commit 9f78da2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
@@ -1,4 +1,4 @@
{
"node": "16",
"node": "18",
"sandboxes": []
}
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -17,15 +17,13 @@ jobs:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- 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
17 changes: 10 additions & 7 deletions .github/workflows/codeql.yml
@@ -1,12 +1,14 @@
name: "CodeQL"
name: CodeQL

on:
push:
branches: [ "master" ]
branches:
- master
pull_request:
branches: [ "master" ]
branches:
- master
schedule:
- cron: "16 11 * * 2"
- cron: '16 11 * * 2'

jobs:
analyze:
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 All @@ -38,4 +41,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
category: '/language:${{ matrix.language }}'
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Expand Up @@ -11,27 +11,25 @@ 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
run: pnpm i

- name: Build
run: yarn build
run: pnpm build

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/size-limit.yml
Expand Up @@ -13,15 +13,13 @@ 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 LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
16
18

0 comments on commit 9f78da2

Please sign in to comment.