chore(deps): update actions/setup-node action to v4.0.4 #232
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: netlify-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18' ] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn css | |
- run: yarn build | |
- name: Deploy to Netlify | |
run: | | |
npm install netlify-cli -g | |
netlify deploy --prod --dir=dist | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |