Update dependency typescript to v5.7.2 #291
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: Optimize map and deploy | |
on: | |
- push | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Optimize map | |
uses: thecodingmachine/map-optimizer-action@master | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: '14.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: "Install dependencies" | |
run: npm install | |
- name: "Build scripts" | |
run: npm run build | |
- name: "Move scripts" | |
run: mv dist/* . | |
- name: Bash | |
if: github.ref == 'refs/heads/master' | |
run: | | |
ls -al | |
git config --global user.email "[email protected]" | |
git config --global user.name "David Négrier" | |
git checkout master | |
git add . | |
git commit -am "Adding files" | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: . # The folder the action should deploy. | |
BASE_BRANCH: master | |
- name: Bash2 | |
run: | | |
ls -al |