Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
- Remove support for `Node 18.x` from `webwallet_ci.yml`
- Remove `REGISTRY_TOKEN` from `webwallet_ci.yml`
- Change `webwallet_ci.yml` to be skipped on draft PRs
- Change `webwallet_ci.yml` to run when the workflow itself is updated
- Change `webwallet_ci.yml` to don't run on `*.md` file changes
- Change `dusk_ci.yml` to `rusk_ci.yml` and update workflow's name
- Change `rusk_ci.yml` to don't run `webwallet_ci.yml` when is updated
- Change `rusk_ci.yml` to don't run on `*.md` file changes
  • Loading branch information
ZER0 committed Feb 3, 2024
1 parent 1138047 commit dbd05ee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:
paths:
- "**"
- "!web-wallet/**"
- "!.github/workflows/webwallet_ci.yml"
- "!**/*.md'"

name: Continuous integration
name: Rusk CI

jobs:
analyze:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/webwallet_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,36 @@ name: web-wallet CI

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "web-wallet/**"

- ".github/workflows/webwallet_ci.yml"
- "!**/*.md"
jobs:
lint-test:

if: github.event.pull_request.draft == false || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

name: Node ${{ matrix.node-version }}
name: Node 20.x

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setting up Node ${{ matrix.node-version }}
- name: Setting up Node 20.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20.x
registry-url: "https://npm.pkg.github.com/"
scope: "@dusk-network"

- name: Installing dev dependencies
run: npm ci
working-directory: ./web-wallet
env:
REGISTRY_TOKEN: ${{secrets.GH_TOKEN}}

- name: Linting
run: npm run lint
Expand All @@ -47,4 +47,4 @@ jobs:

- name: Building the app
run: npm run build
working-directory: ./web-wallet
working-directory: ./web-wallet

0 comments on commit dbd05ee

Please sign in to comment.