Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into refactor-difference-r…
Browse files Browse the repository at this point in the history
…eporting
  • Loading branch information
valya committed Aug 3, 2023
2 parents d7e239f + 7c11ccc commit d40c397
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: On push

on: push

jobs:
run-checks:
runs-on: ubuntu-latest

steps:
- name: Check out commit
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4

- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Run checks
run: |
pnpm install --frozen-lockfile
pnpm build
pnpm lint
pnpm test
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"lint": "eslint .",
"lintfix": "eslint . --fix"
},
"engines": {
"node": ">=18.10",
"pnpm": ">=8.6"
},
"packageManager": "pnpm@8.6.1",
"keywords": [],
"author": "",
"license": "Apache-2.0",
Expand All @@ -44,7 +49,7 @@
"typescript": "^5.0.0"
},
"dependencies": {
"@n8n_io/riot-tmpl": "^4.0.0",
"@n8n_io/riot-tmpl": "^4.0.1",
"ast-types": "^0.16.1",
"esprima-next": "^5.8.4",
"recast": "^0.22.0"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/Expression.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as tmpl from '@n8n_io/riot-tmpl';

import { baseFixtures } from './ExpressionFixtures/base';
import { Tournament } from '../src/index';
import { isDifferent } from '../src/Differ';
import { baseFixtures } from './ExpressionFixtures/base';

tmpl.brackets.set('{{ }}');
const evaluator = new Tournament(() => {});
Expand Down

0 comments on commit d40c397

Please sign in to comment.