From 9ef425caa78943f8a64ecae298408532b289be6d Mon Sep 17 00:00:00 2001 From: Fernando Dodino Date: Sun, 24 Nov 2024 11:34:11 -0300 Subject: [PATCH] Using nvmrc for CI --- .github/workflows/build.yml | 7 ++----- .gitignore | 5 ++++- .nvmrc | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cacfea..b303abf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,9 +8,6 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x] steps: - uses: actions/checkout@v4 @@ -23,10 +20,10 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - name: Node ${{ matrix.node-version }} + - name: Node setup uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version-file: '.nvmrc' - name: Run tests & linter run: | diff --git a/.gitignore b/.gitignore index b713a66..10c52fb 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,7 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* # Coverage -coverage \ No newline at end of file +coverage + +# VSCode +.history \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..82bcadd --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.9 \ No newline at end of file