diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 761beb2..d376fc0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,23 +1,23 @@ -name: Publish to NPM - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: '18.x' - registry-url: 'https://registry.npmjs.org' - - name: Install dependencies and build 🔧 - run: npm ci && npm run build - - name: Publish package on NPM 📦 - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} +name: Publish to NPM + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies and build 🔧 + run: npm ci && npm run build + - name: Publish package on NPM 📦 + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index 4c57ae7..581906b 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm install diff --git a/.travis.yml b/.travis.yml index cb1452a..387aaae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ -language: node_js -node_js: - - "16" - -sudo: false -after_success: npm test -after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" +language: node_js +node_js: + - "20" + +sudo: false +after_success: npm test +after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" diff --git a/CHANGELOG.md b/CHANGELOG.md index 71da54d..e195efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### v1.5.0 / 2024-10-06 + +* Update node version to version 20 in the project + ### v1.4.0 / 2024-10-06 * Update all project dependencies diff --git a/package.json b/package.json index ea77137..be35e53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-import-files", - "version": "1.4.0", + "version": "1.5.0", "description": "Light and easy package that will load .graphql files and use them with syntax highlighting.", "repository": "git@github.com:tiago154/graphql-import-files.git", "main": "dist/index.js", @@ -54,4 +54,4 @@ "files": [ "dist/**/*" ] -} +} \ No newline at end of file