Skip to content

Commit df1ffc4

Browse files
committed
👷 test/build ordering
1 parent 515d97e commit df1ffc4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
run: |
3434
npm install
3535
36-
echo "Run build"
37-
npm run build
38-
3936
echo "Run tests"
4037
npm run test
38+
39+
echo "Run build"
40+
npm run build

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"postbuild": "cp -v manifest.json README.md build",
1111
"test": "npx jest",
1212
"prettier": "prettier -w 'src/**/*.ts'",
13-
"preversion": "npm run build && npm run test",
13+
"preversion": "npm run test && npm run build",
1414
"version": "auto-changelog -p",
1515
"brat-notes": "run() { auto-changelog --stdout --hide-credit --hide-empty-releases --template .github/changelog.hbs -v $1 --starting-version $1 > release-notes.md; }; run"
1616
},

0 commit comments

Comments
 (0)