ATL-1546: Add gstatic wildcard to csp #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create and publish a package | |
on: | |
push: | |
branches: ['master'] | |
jobs: | |
run-npm-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@migroscomtr' | |
- run: npm install | |
- run: npm run build | |
- run: npm test | |
- name: npm version patch | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "heroci" | |
npm version patch | |
git push | |
- run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |