Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: pipeline
  • Loading branch information
BCsabaEngine committed Dec 6, 2024
commit 8a828fcc7abdac225bfed91c975dbb137fa25e30
24 changes: 18 additions & 6 deletions .github/workflows/ci-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,28 @@ on:

jobs:
check:
name: Source revision
name: Source Revision
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 20.x, 18.x]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '22.12.0'
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Run Format Check
run: npm run format:check

- name: Run Lint Check
run: npm run lint:check

- run: npm ci
- run: npm run format:check
- run: npm run lint:check
- run: npm run build
- name: Build
run: npm run build
40 changes: 29 additions & 11 deletions .github/workflows/ci-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,31 @@ on:

jobs:
check:
name: Source revision
name: Source Revision
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 20.x, 18.x]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '22.12.0'
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Run Format Check
run: npm run format:check

- name: Run Lint Check
run: npm run lint:check

- run: npm ci
- run: npm run format:check
- run: npm run lint:check
- run: npm run build
- name: Build
run: npm run build

tag:
name: Version tag
Expand Down Expand Up @@ -47,10 +59,16 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.12.0'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
node-version: '22'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading