From 57e49670a97954e646e8beae0ee7fcdfadcf2e7d Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 14 Nov 2022 12:46:36 -0600 Subject: [PATCH] ci: Create seperate dev workflow checks --- .github/workflows/example.yml | 2 -- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index afc13ab..2d69964 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -32,8 +32,6 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build - - run: npm run format:check - - run: npm run lint - run: npm run package - uses: ./ with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..96101da --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Run tests + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' + - run: npm ci + - run: npm run build + - run: npm run format:check + - run: npm run lint + - run: npm run package + # FIXME Token doesn't get passed correctly + # - run: npm run test