diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6f0c428 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Test + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + + - run: ./som.sh -cp core-lib/Smalltalk core-lib/TestSuite/TestHarness.som + - run: ./som.sh -cp core-lib/Smalltalk:core-lib/TestSuite:core-lib/SomSom/src/compiler:core-lib/SomSom/src/vm:core-lib/SomSom/src/vmobjects:core-lib/SomSom/src/interpreter:core-lib/SomSom/src/primitives core-lib/SomSom/tests/SomSomTests.som + + - run: npm ci + - run: npm test + - run: npm run lint + - run: npm run browserify diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 21e2e88..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -node_js: - - 15 - -script: - - ./som.sh -cp core-lib/Smalltalk core-lib/TestSuite/TestHarness.som - - npm install . - - npm run test - - npm run lint - - npm run browserify