Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan committed Jul 2, 2024
1 parent eb4321c commit 48c640a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'


- name: Install dependencies
run: |
npm ci
npm run build
- name: Tests
run: |
npm run lint
npm run test
npm run check-types
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build:framework": "npm run optimise:svg && npm run build:hash && npm run build:css",
"build:hash": "node scripts/hash.cjs",
"create:autolayout": "npm --workspace=@trilogy-ds/styles run build:autolayout && npm run create:autolayout",
"lint": "eslint packages/react --ext .ts,.tsx --fix && tsc --noemit",
"lint": "eslint packages/react --ext .ts,.tsx --fix && npm run check-types",
"optimise:svg": "npm --workspace=@trilogy-ds/styles run optimise:svg",
"start": "npm --workspace=@trilogy-ds/react-template run start",
"setup:native": "cd examples/mobile && npm i && npm run setup:native",
Expand Down
1 change: 0 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"scripts": {
"test": "jest --config jest.config.web.ts --updateSnapshot --coverage",
"check-types": "tsc --noemit",
"lint": "eslint src --ext .ts,.tsx --fix && npm run check-types",
"test:native": "jest --config jest.config.native.ts --updateSnapshot --coverage --silent",
"prebuild": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > version.ts",
"build": "rimraf lib && npm run prebuild && tsc -p . && tsc-alias && cp -R ../../config/native/react-native.config.js ./lib/"
Expand Down

0 comments on commit 48c640a

Please sign in to comment.