Skip to content

Commit

Permalink
Update node.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-d committed Nov 24, 2023
1 parent 09d7453 commit 349cd00
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 112 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -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

56 changes: 28 additions & 28 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -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

56 changes: 28 additions & 28 deletions .github/workflows/tsc.yml
Original file line number Diff line number Diff line change
@@ -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

56 changes: 28 additions & 28 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 349cd00

Please sign in to comment.