Skip to content

Commit

Permalink
indexed types
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed Oct 16, 2024
1 parent 301ced0 commit 01de622
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
- run: npm ci
- run: npm test

Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
- run: npm ci
- run: npm test

Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
- run: npm ci
- run: npm test

Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/npmpublish-ts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Publish Beta version

on:
push:
branches:
- 'v*.*-ts'
tags:
- 'v*.*.*-ts'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 22
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
- run: npm ci
- run: npm publish --tag ${GITHUB_REF##*/}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.102
2.4.102-ts

0 comments on commit 01de622

Please sign in to comment.