VuePagesAction icon indicating copy to clipboard operation
VuePagesAction copied to clipboard

Execute other tasks before build

Open kwiat1990 opened this issue 3 years ago • 1 comments

Hi,

I would like to execute some other commands before the Vue app will be build such as unit tests and so one. Is it possible with action or can I use some other action first followed by this one?

kwiat1990 avatar Oct 06 '21 07:10 kwiat1990

Hey, you can just add the test command to your action yml file like this

jobs:
  unit_test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: npm ci && npm run test:unit

xRealNeon avatar Oct 06 '21 10:10 xRealNeon