List image package type #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: Publish | |
on: | |
push: | |
branches: | |
- source | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm install | |
- run: npm run lint | |
- name: npm run deploy | |
run: | | |
git config --global user.email "trygve-lie@users.noreply.github.com" | |
git config --global user.name "trygve-lie" | |
echo "machine github.com login trygve-lie password ${{ secrets.GIT_TOKEN }}" > ~/.netrc | |
npm run deploy | |
env: | |
CI: true | |
GIT_USER: trygve-lie | |
DEPLOYMENT_BRANCH: main |