From 9fc4ccddd4537f20188ed3c6133a4c49d333ba09 Mon Sep 17 00:00:00 2001 From: rohith2834 <143287547+rohith2834@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:22:03 +0530 Subject: [PATCH 1/3] Create npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 00000000..0f838d5b --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# 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://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From 66cafe9969ea96b7053ee9d7fd6c8b1fc301cc84 Mon Sep 17 00:00:00 2001 From: rohith2834 <143287547+rohith2834@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:22:42 +0530 Subject: [PATCH 2/3] Create webpack.yml --- .github/workflows/webpack.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/webpack.yml diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 00000000..25e64c08 --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + npx webpack From 0fd53cf32477c9821044846c40b259f3dc7930e6 Mon Sep 17 00:00:00 2001 From: rohith2834 <143287547+rohith2834@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:27:42 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a813f4f..c61872d4 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -# Propose your GF/BF using React Love Letter -Developed by [Dodagatta Nihar](https://instagram.com/niihaaarrrr) + +Developed by [Rohith Varma](https://www.instagram.com/mr.chinnu._3428/) Website Link: [Click Here](https://react-love-letter.vercel.app) -### How to use this? -Just fork the repository and install dependencies and run 'npm start' and done :) +