Skip to content

Commit

Permalink
fix: deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakshrma committed Feb 8, 2024
1 parent f0faaa3 commit a6e9cc3
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: Deploy deno-by-example

on:
push:
branches: [ "next" ]
pull_request:
branches: [ "next" ]
branches: ["next"]

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false


jobs:
build:
Expand All @@ -20,9 +30,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down

0 comments on commit a6e9cc3

Please sign in to comment.