From 0bdffedbba0357bd4aa13c39fa10e6bc84bc631c Mon Sep 17 00:00:00 2001 From: Tomas Gonzalez Date: Sat, 9 Oct 2021 13:49:31 -0400 Subject: [PATCH] learnpack audit's action added to the repository --- .github/workflows/learnpack-audit.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/learnpack-audit.yml diff --git a/.github/workflows/learnpack-audit.yml b/.github/workflows/learnpack-audit.yml new file mode 100644 index 0000000..70f416e --- /dev/null +++ b/.github/workflows/learnpack-audit.yml @@ -0,0 +1,29 @@ +# This workflow will do a clean install of node dependencies, cache/restore them, 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: Learnpack audit + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - run: npm install learnpack -g + - run: learnpack audit \ No newline at end of file