Skip to content

Commit

Permalink
Merge pull request #48 from FlorianWendelborn/fix-jest-add-github-act…
Browse files Browse the repository at this point in the history
…ions

chore(tests): Fix Jest & Add to GitHub Actions
  • Loading branch information
FlorianWendelborn authored Feb 18, 2021
2 parents f62d20c + 299d698 commit a9337b8
Show file tree
Hide file tree
Showing 102 changed files with 1,956 additions and 1,449 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: push
jobs:
jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ hashFiles('**/yarn.lock') }}
- name: Install modules
run: yarn install --immutable --immutable-cache --check-cache
- name: Test bitwise
run: yarn run test
- name: Build bitwise
run: yarn run build
2,367 changes: 1,371 additions & 996 deletions .pnp.js

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/resolve-patch-38ce149af0-4bcfb56886.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
55 changes: 55 additions & 0 deletions .yarn/releases/yarn-2.4.0.cjs

Large diffs are not rendered by default.

55 changes: 0 additions & 55 deletions .yarn/releases/yarn-berry.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-berry.cjs
yarnPath: .yarn/releases/yarn-2.4.0.cjs
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
],
"description": "Manipulates bits, nibbles, bytes, and buffers.",
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.5",
"codecov": "^3.8.0",
"jest": "^26.5.2",
"jest-cli": "^26.5.2",
"ts-jest": "^26.4.1",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.28",
"codecov": "^3.8.1",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"ts-jest": "^26.5.1",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
"typescript": "^4.1.5"
},
"homepage": "https://github.com/FlorianWendelborn/bitwise#readme",
"jest": {
Expand Down Expand Up @@ -81,7 +81,7 @@
"url": "git+https://github.com/FlorianWendelborn/bitwise.git"
},
"scripts": {
"build": "rm -rf build/* && tsc && tsc -p ./tsconfig.treeshake.json && yarn run build:copy",
"build": "rm -rf build && tsc && tsc -p ./tsconfig.treeshake.json && yarn run build:copy",
"build:copy": "cp package.json build && cp readme.md build && cp license.md build",
"clean": "read -p \"Are you sure you want to discard all uncommitted changes? (y/n)\" CONTINUE; if [ \"$CONTINUE\" = \"y\" ]; then git clean -dxf; else exit 1; fi && yarn install",
"coverage": "jest --coverage",
Expand Down
Loading

0 comments on commit a9337b8

Please sign in to comment.