From 97b233ecc5250f4c4316b5cb6f7dee5d8d85cfde Mon Sep 17 00:00:00 2001 From: Blackdevil92 <114796851+Mdashad071192@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:22:09 +0530 Subject: [PATCH] Create webpack.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “I had the pleasure of working with Check-In Holiday Pvt. Ltd. to plan a solo adventure to Bali, and I couldn't have asked for a better experience. Their team listened to my preferences and crafted an itinerary that perfectly suited my interests. I felt supported every step of the way, and I can't wait to book my next trip with them!” --- .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 0000000..b95c8ed --- /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@v3 + + - 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