Skip to content

Commit

Permalink
Merge pull request #39 from betagouv/feat-bump-deps
Browse files Browse the repository at this point in the history
Feat bump deps
  • Loading branch information
EmileRolley authored Feb 7, 2025
2 parents 076d7d5 + 6f760da commit d75679f
Show file tree
Hide file tree
Showing 9 changed files with 5,084 additions and 2,736 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/check-links-validity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: "true"
submodules: true
- uses: actions/setup-node@v4
with:
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn run compile:rules
- run: npm ci
- run: npm run compile:rules
- id: invalid_links
run: node ./scripts/check-links-validity.js --ci
timeout-minutes: 15
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ jobs:
submodules: true

- uses: actions/setup-node@v4
with:
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: yarn release
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 4 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ jobs:
with:
submodules: true
- uses: actions/setup-node@v4
with:
cache: yarn
- run: yarn install --frozen-lockfile

- run: npm ci

- name: Test the package
run: yarn test
run: npm run test

- name: Compile the package
run: yarn compile
run: npm run compile
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ France.
## Installation

```sh
yarn install @betagouv/aides-velo
npm install @betagouv/aides-velo
```

## Utilisation
Expand Down Expand Up @@ -118,19 +118,19 @@ console.log(formatValue(result));

```sh
// Install the dependencies and run postinstall scripts
yarn install
npm install

// Compile the Publicodes rules
yarn run compile:rules
npm run compile:rules

// Run the tests
yarn run test
npm run test

// Compile the whole package (rules + wrapper function)
yarn run compile
npm run compile

// Run the documentation server
yarn run doc
npm run doc
```

## Modification des aides
Expand All @@ -145,7 +145,7 @@ Toutes les aides sont définie dans le fichier
modifiées (resp. supprimées/ajoutées) directement dans ce fichier.

Une fois les modifications effectuées, assurez vous de ne pas avoir introduit
d'erreurs dans les règles avec la commande `yarn run compile`.
d'erreurs dans les règles avec la commande `npm run compile`.

> [!NOTE]
> Si une aide n'est plus d'actualité et doit être supprimée, il est préférable
Expand Down
Loading

0 comments on commit d75679f

Please sign in to comment.