Skip to content

refactor: bump node version on CI #39

refactor: bump node version on CI

refactor: bump node version on CI #39

Workflow file for this run

name: Main workflow
on: push
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Dependency installation
run: npm ci
- name: Lint scripts
run: npm run lint
- name: Checking file name convention
run: npm run lint-names
- name: Integration tests
run: npm run test
- name: Checking typescript types and build app
run: npm run build
- name: Run prepublish script
run: npm run prepublish
# semantic-release release only from master branch, so do not be worry
- name: Publish to NPM
run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}