Skip to content

chore(deps): update dependency @nordicsemiconductor/asset-tracker-clo… #1759

chore(deps): update dependency @nordicsemiconductor/asset-tracker-clo…

chore(deps): update dependency @nordicsemiconductor/asset-tracker-clo… #1759

name: Test and Release
on: push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Authenticate with NPM registry
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- name: Keep npm cache around to speed up installs
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci --no-audit
- name: Compile
run: npx tsc
- name: Test
run: npm test
- name: Semantic release
continue-on-error: true
run: npx semantic-release