This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
fix: package.json to reduce vulnerabilities #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name : React Native Google Photos | ||
on : [push] | ||
jobs : | ||
build: | ||
runs-on: ubuntu-latest | ||
steps : | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@v1 | ||
with : | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
- run : | | ||
npm install | ||
npm run prepublish | ||
npm publish | ||
env : | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
publish-gpr: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@khalisafkari' | ||
- run: | | ||
npm install | ||
npm run prepublish | ||
npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.token_git}} |