Skip to content

Commit

Permalink
fix: tests CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Apr 19, 2024
1 parent d06a4d3 commit 9762ef2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# This workflow contains a single job called "test"
test:
# The type of runner that the job will run on
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -25,14 +25,11 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'

# Runs a single command using the runners shell
- name: Install Yarn
run: npm install -g yarn

- name: Install Dependencies
run: yarn
run: npm install

- name: Test
run: yarn test
run: npm run test
4 changes: 2 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"scripts": {
"build": "rollup -c && rm -f dist/*.d.ts && cp src/index.d.ts dist/index.d.ts",
"dev": "concurrently \"rollup -cw\" \"nodemon --inspect runkit.js\"",
"test": "tsx ./src/index.test.ts && npm run build && node runkit.js"
"test": "tsx ./src/index.test.ts",
"test:full": "tsx ./src/index.test.ts && npm run build && node runkit.js"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.0.0",
Expand Down

0 comments on commit 9762ef2

Please sign in to comment.