From 349cd00d9cc4d768a02104af2aece9a58c995db0 Mon Sep 17 00:00:00 2001 From: Divyanshu Agrawal Date: Fri, 24 Nov 2023 16:50:27 +0530 Subject: [PATCH] Update node. --- .github/workflows/eslint.yml | 56 +++++++++++++++++------------------ .github/workflows/jest.yml | 56 +++++++++++++++++------------------ .github/workflows/tsc.yml | 56 +++++++++++++++++------------------ .github/workflows/webpack.yml | 56 +++++++++++++++++------------------ 4 files changed, 112 insertions(+), 112 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index c243fbe..8cce78c 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -1,28 +1,28 @@ -name: ESLint - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm install -g eslint - - run: npm run lint -# For help, see -#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - +name: ESLint + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm install -g eslint + - run: npm run lint +# For help, see +#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index d97ecfb..740d411 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -1,28 +1,28 @@ -name: Jest - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm install -g jest - - run: npm test -# For help, see -#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - +name: Jest + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm install -g jest + - run: npm test +# For help, see +#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + diff --git a/.github/workflows/tsc.yml b/.github/workflows/tsc.yml index d363664..08dc594 100644 --- a/.github/workflows/tsc.yml +++ b/.github/workflows/tsc.yml @@ -1,28 +1,28 @@ -name: TypeScript - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm install -g typescript - - run: npm run test-compile -# For help, see -#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - +name: TypeScript + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm install -g typescript + - run: npm run test-compile +# For help, see +#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 529fad4..8d0c4d7 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -1,28 +1,28 @@ -name: Webpack - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm install -g webpack-cli - - run: npm run webpack-production -# For help, see -#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - +name: Webpack + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm install -g webpack-cli + - run: npm run webpack-production +# For help, see +#See also https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions +