Skip to content

Commit

Permalink
feat(ci): minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Apr 13, 2022
1 parent db91d5d commit 982a4cf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,27 @@ on:
jobs:
ci_publish:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 16
registry-url: https://registry.npmjs.org/
cache: npm

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm clean-install
run: npm clean-install --engine-strict

- name: Build
run: npm run build

- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 982a4cf

Please sign in to comment.