Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adjusting create-fuels package and test workflow #1582

Merged
merged 11 commits into from
Dec 21, 2023
5 changes: 5 additions & 0 deletions .changeset/swift-students-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": minor
---

Update supported node version in create fuels
7 changes: 3 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,17 @@ jobs:

- name: Download Master Coverage Artifact
uses: dawidd6/action-download-artifact@v2
# TODO: Remove PR != check once #1310 has been merged
if: ${{ (steps.findPr.outputs.number) && !(contains(fromJSON('["1579", "1495"]'), steps.findPr.outputs.number))}}
# change to pr number check when rc/salamander has been merged
if: false
with:
workflow: test.yaml
branch: master
name: coverage-master
path: coverage-master

# TODO: Delete once #1310 has been merged
- name: Download Master Coverage Artifact (temporary)
uses: dawidd6/action-download-artifact@v2
if: ${{ (steps.findPr.outputs.number) && contains(fromJSON('["1579", "1495"]'), steps.findPr.outputs.number)}}
if: ${{ (steps.findPr.outputs.number) }}
with:
workflow: test.yaml
run_id: 6628340271
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"templates"
],
"engines": {
"node": "^18.17.1"
"node": "^18.18.2"
},
"license": "Apache-2.0",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/create-fuels/test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { join } from 'path';

import { runScaffoldCli } from '../src/cli';

/**
* @group node
*/
test('create-fuels extracts the template to the specified directory', async () => {
// move the templates folder from the root of the project to the root of the create-fuels package temporarily.
// this is needed because of the way the create-fuels package is setup.
Expand Down
4 changes: 4 additions & 0 deletions packages/create-fuels/tsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
"extends": ["../../tsdoc.base.json"]
}
Loading