Skip to content

Commit

Permalink
deps(github/workflow): use major version for less update
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored Dec 13, 2024
1 parent cb915a6 commit 6f710d0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:

steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: 🏗 Setup nodejs
uses: actions/setup-node@v4.1.0
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -40,7 +40,7 @@ jobs:
run: echo "cache_folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: 🏗 Cache Layer
uses: actions/cache@v4.1.2
uses: actions/cache@v4
# id: yarn_cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn_config.outputs.cache_folder }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:

steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@v3.27.7
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- name: 🏗 Auto build
uses: github/codeql-action/autobuild@v3.27.7
uses: github/codeql-action/autobuild@v3

- name: 🚀 Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3.27.7
uses: github/codeql-action/analyze@v3
5 changes: 2 additions & 3 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Dependency Review
on:
workflow_dispatch:

# disable on private repository
pull_request:

jobs:
Expand All @@ -18,7 +17,7 @@ jobs:

steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: 🚀 Dependency Review
uses: actions/dependency-review-action@v4.5.0
uses: actions/dependency-review-action@v4
11 changes: 4 additions & 7 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: 🏗 Setup nodejs
uses: actions/setup-node@v4.1.0
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
Expand All @@ -40,7 +40,7 @@ jobs:
run: echo "cache_folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: 🏗 Cache Layer
uses: actions/cache@v4.1.2
uses: actions/cache@v4
# id: yarn_cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn_config.outputs.cache_folder }}
Expand All @@ -51,12 +51,9 @@ jobs:
- name: 🏗 Install dependencies
run: yarn install --immutable

- name: 🏗 Build Typescript
- name: 🏗 Build
run: yarn build

# - name: 🚀 Extra Packages Build
# run: yarn build:r

- name: 🚀 Publish
run: yarn run publish --yes
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:

steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.3.0
uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6f710d0

Please sign in to comment.