diff --git a/.github/workflows/jsBuilder.yml b/.github/workflows/jsBuilder.yml index 58f089a7..8eafb8c8 100644 --- a/.github/workflows/jsBuilder.yml +++ b/.github/workflows/jsBuilder.yml @@ -19,12 +19,11 @@ jobs: - name: Node setup uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '22' # cache: 'npm' - name: Install dependencies - run: | - npm i react-native@latest + run: npm install - name: Build JavaScript files run: | # Change line to your build script command. @@ -60,7 +59,7 @@ jobs: - name: Node setup uses: actions/setup-node@v2 with: - node-version: 16 + node-version: '22' registry-url: https://registry.npmjs.org/ - name: Get Latest package.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..7253a5ce --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +min-release-age=7 diff --git a/package.json b/package.json index 8b213daa..1df26290 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.4-30", + "version": "3.0.4-31", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts",