diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2021-02-12 00:15:24 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2021-02-12 00:15:24 +0300 |
commit | 56c80b389e488fa5d60a2dea7cda4386964fbc5a (patch) | |
tree | ebdb8a6045ccc7ade20c2a10bd834ca7311c7ba0 /.github | |
parent | 2f766a7e96a8687acf773778e15095592d9e7341 (diff) |
Create ci.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..910c8cf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: ci +'on': + - push + - pull_request +jobs: + test: + name: Node ${{ matrix.node }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + node: + - '14' + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: ${{ runner.node }} + - run: npm install + - run: npm run build --if-present + - run: npm test |