diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f74aeb..eb7be38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,9 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 - run: npm ci - - run: npx semantic-release - env: + - run: npm run lint + - run: npm test + - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx semantic-release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7757e86..56942e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 - - run: npm install + - run: npm ci - run: npm run lint - run: npm test