diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2bc392c1..3aea7cab 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16' + node-version-file: 'package.json' check-latest: true - run: yarn - run: yarn typecheck @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16' + node-version-file: 'package.json' check-latest: true - run: yarn - run: yarn build @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16' + node-version-file: 'package.json' check-latest: true - run: yarn - run: yarn build:staging @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16' + node-version-file: 'package.json' check-latest: true - run: yarn - run: yarn build:production diff --git a/package.json b/package.json index 3f7761cb..37d6a3eb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ ] }, "engines": { - "node": ">=16.14" + "node": "^20" }, "prettier": "@valora/prettier-config" }