From 29681a0b46ae15ba94f07d3334b22b35e98c69e5 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Mon, 19 Apr 2021 20:38:39 +0300 Subject: [PATCH] Try old actions --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..9db21ad --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: Lint + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14.16.0 + - run: npm ci + - run: npm run eslint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..eef7dff --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14.16.0 + - run: npm ci + - run: npm run test-build + - run: npm run test-ci