Skip to content

Commit

Permalink
fix: pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
BCsabaEngine committed Dec 6, 2024
1 parent 33f6819 commit 8a828fc
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 17 deletions.
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 }}

0 comments on commit 8a828fc

Please sign in to comment.