Skip to content

Commit

Permalink
Update CI workflow and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Feb 7, 2024
1 parent c3e94a9 commit 23e1997
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 106 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build

name: CI
on:
pull_request:
paths-ignore:
Expand All @@ -12,33 +11,20 @@ jobs:
build:
strategy:
matrix:
node: [ '16' ]
name: 🔨 Build 🧪 Test 🧹 Lint
node: [ '20' ]
name: CI 🔨🧪🧹
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: 🟩 Setup Node.js 16.x
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm

- name: 🟢 Install node modules
run: npm ci

- name: 🔨 Build
run: npm run build

- name: 🧪 Test
run: npm run test

- name: 🧹 Lint Demo
run: npm run lint

- name: 💾 Archive artifacts
uses: actions/upload-artifact@v2
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm run lint
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
73 changes: 0 additions & 73 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.2",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"jest": "^29.6.1",
"jest-cli": "^29.6.1",
"ts-jest": "^29.1.1",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"ts-jest": "^29.1.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.1.6"
"typescript": "^5.3.3"
}
}

0 comments on commit 23e1997

Please sign in to comment.