Skip to content

Merge pull request #7 from SamhammerAG/dependabot/npm_and_yarn/expres… #33

Merge pull request #7 from SamhammerAG/dependabot/npm_and_yarn/expres…

Merge pull request #7 from SamhammerAG/dependabot/npm_and_yarn/expres… #33

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
ci:
name: ci
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: echo "::remove-matcher owner=tsc::"
- run: echo "::remove-matcher owner=eslint-compact::"
- run: echo "::remove-matcher owner=eslint-stylish::"
- run: node --version
- run: npm clean-install
- run: npm run build
- if: startsWith(github.ref, 'refs/tags/')
name: set package.json version by tag
run: npm version --allow-same-version --no-commit-hooks --no-git-tag-version from-git
- if: startsWith(github.ref, 'refs/tags/')
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_API_KEY }}
package: package.json
access: public