Skip to content

Commit

Permalink
chore: upgrade dependencies and support node 20 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
DRiFTy17 committed Apr 30, 2024
1 parent 0b07e7b commit 05a541f
Show file tree
Hide file tree
Showing 6 changed files with 2,625 additions and 8,762 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/auto-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: Pull Request Validation

on:
pull_request:
branches:
- next
types: [opened, synchronize, reopened, labeled, unlabeled]
workflow_dispatch:

jobs:
release:
name: Pull Request Validation
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-auto-pr-check.yml@v2.8.1
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-auto-pr-check.yml@v2.9.0
10 changes: 1 addition & 9 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@ name: Build Pull Request

on:
pull_request:
paths:
- '.github/workflows/**/*'
- '.eslintrc.json'
- 'gulpfile.ts'
- 'tsconfig.json'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'

jobs:
build:
name: Build
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-and-test.yml@v2.8.1
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-and-test.yml@v2.9.0
secrets:
NPM_TOKEN: ${{ secrets.FORGE_NPM_TOKEN }}
29 changes: 8 additions & 21 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
## We only run this workflow on pushes to the branch. This workflow will
## first determine if a release is to be published, and if so, build and publish.
## Otherwise, if not a release, we just perform CI build validation.

name: Build and Release

on:
push:
branches:
- next
paths:
- '.github/workflows/**/*'
- '.eslintrc.json'
- 'auto.config.ts'
- 'gulpfile.ts'
- 'tsconfig.json'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'

concurrency: build-release-${{ github.ref }}

Expand All @@ -27,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare Repository
# Fetch full git history and tags
run: git fetch --unshallow --tags

- name: Cache Dependencies
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -47,9 +34,9 @@ jobs:
${{ runner.os }}-
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"

- name: Install
id: install
Expand All @@ -75,14 +62,14 @@ jobs:
## Detect if any specific files we care about have changed to help us know if we need to execute a CI build or Storybook deployment at all or not
- name: Check File Changes
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
id: file-filter
with:
filters: |
build:
- '.github/workflows/**'
- '.eslintrc.json'
- 'auto.config.ts'
- '.autorc'
- 'gulpfile.ts'
- 'tsconfig.json'
- 'src/**'
Expand All @@ -94,7 +81,7 @@ jobs:
build:
name: Build
needs: wf-config
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-and-test.yml@v2.8.1
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-and-test.yml@v2.9.0
if: ${{ needs.wf-config.outputs.is-release == 'false' && needs.wf-config.outputs.build-files-changed == 'true' }}
secrets:
NPM_TOKEN: ${{ secrets.FORGE_NPM_TOKEN }}
Expand All @@ -103,7 +90,7 @@ jobs:
build-and-release:
name: Build and Release
needs: wf-config
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-release.yml@v2.8.1
uses: tyler-technologies-oss/forge-automation-shared/.github/workflows/wf-build-release.yml@v2.9.0
if: ${{ needs.wf-config.outputs.is-release == 'true' }}
with:
PRODUCTION_RELEASE: true
Expand Down
Loading

0 comments on commit 05a541f

Please sign in to comment.