diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-12 22:42:44 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-12 22:42:44 +0900 |
| commit | b9056a9fd978fc56133fa611cdbd609bedf93bb4 (patch) | |
| tree | 8bb4ffd386b04ebbc4ae91d4dc7a53e94f5ac814 | |
| parent | 0.0.4 (diff) | |
| download | misskey-b9056a9fd978fc56133fa611cdbd609bedf93bb4.tar.gz misskey-b9056a9fd978fc56133fa611cdbd609bedf93bb4.tar.bz2 misskey-b9056a9fd978fc56133fa611cdbd609bedf93bb4.zip | |
Create ci.yml
| -rw-r--r-- | .github/workflows/ci.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..1f64c1b2d7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: CI + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install + run: npm i + - name: Build + run: npm run build + - name: Test + run: npm run test |