Skip to content

Commit

Permalink
Merge pull request #28 from tiago154/update-node-version
Browse files Browse the repository at this point in the history
Update node version to lts
  • Loading branch information
tiago154 authored Oct 6, 2024
2 parents dbec681 + b5ffd6a commit 4b0d7c3
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 33 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]:tiago154/graphql-import-files.git",
"main": "dist/index.js",
Expand Down Expand Up @@ -54,4 +54,4 @@
"files": [
"dist/**/*"
]
}
}

0 comments on commit 4b0d7c3

Please sign in to comment.