Skip to content

Commit

Permalink
ci: Use node --run as script runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mvsde committed May 13, 2024
1 parent 6d737a1 commit 9538f29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
node-version: 22
- run: npm ci
- run: npm run lint
- run: node --run lint

test:
name: Test
Expand All @@ -23,4 +23,4 @@ jobs:
with:
node-version: 22
- run: npm ci
- run: npm run test
- run: node --run test
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ const output = template.render();
By default, the filter names `t` and `trans` are supported. You can overwrite or extend these names with the `filterNames` option:

```js
import Twig from "twig";
import { twigDrupalString } from "twig-drupal-string";

twigDrupalString({
Twig,
files: ["strings.yaml"],
Expand Down

0 comments on commit 9538f29

Please sign in to comment.