diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 747e2115..0345af35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - run: npm install - run: npm run format-check - run: npm test @@ -34,7 +37,10 @@ jobs: swift: "5.6.3" steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - run: npm install - run: npm run build && npm run pack-source-map - uses: ./ diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 6559846c..8c98b8a2 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -15,6 +15,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Update Release Draft id: release_draft diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20