Merge pull request #91 from Artsdatabanken/dependabot/npm_and_yarn/de… #18
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: build and release master | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- run: npm install | |
- run: npm update | |
- run: npm run download | |
- run: npm run transform | |
- name: Run deployment script | |
run: ./.github/workflows/deploy.sh | |
shell: bash | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: ${{ github.event.repository.name }}.tar.gz | |
tag: v_${{ github.run_number }} | |
makeLatest: true | |
- name: post to slack | |
run: ./.github/workflows/slack.sh ${{ secrets.POST_SLACK }} | |
shell: bash |